Microsoft Cognitive Language Service - Question Answering Authoring (stable:2023-04-01)

2025/04/28 • 21 updated methods

QuestionAnsweringProjects_ListProjects (updated)
Description Gets all projects for a user.
Reference Link ¶

⚶ Changes

{
  "#id": "QuestionAnsweringProjects_ListProjects",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "Client API version."
      }
    }
  ],
  "$responses": {
    "200": {
      "Description": {
        "new": "Paged collection of QuestionAnsweringProjectMetadata items",
        "old": "Collection of projects metadata and global settings."
      },
      "$properties": [
        {
          "#name": "value",
          "Required": {
            "new": true,
            "old": false
          },
          "$items": {
            "$properties": [
              {
                "#name": "projectName",
                "Required": {
                  "new": true,
                  "old": false
                }
              },
              {
                "#name": "language",
                "Description": {
                  "new": "Language of the text records. This is BCP-47 representation of a language. For\nexample, use \"en\" for English; \"es\" for Spanish etc. If not set, use \"en\" for\nEnglish as default.",
                  "old": "Language of the text records. This is BCP-47 representation of a language. For example, use \"en\" for English; \"es\" for Spanish etc. If not set, use \"en\" for English as default."
                }
              }
            ]
          }
        }
      ]
    },
    "default": {
      "$properties": {
        "error": [
          {
            "#name": "code",
            "Enum": {
              "new": [
                [
                  "InvalidRequest",
                  "Invalid request error"
                ],
                [
                  "InvalidArgument",
                  "Invalid argument error"
                ],
                [
                  "Unauthorized",
                  "Unauthorized access error"
                ],
                [
                  "Forbidden",
                  "Forbidden access error"
                ],
                [
                  "NotFound",
                  "Not found error"
                ],
                [
                  "ProjectNotFound",
                  "Project not found error"
                ],
                [
                  "OperationNotFound",
                  "Operation not found error"
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  "Azure Cognitive Search not found error"
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  "Azure Cognitive Search index not found error"
                ],
                [
                  "TooManyRequests",
                  "Too many requests error"
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  "Azure Cognitive Search throttling error"
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  "Azure Cognitive Search index limit reached error"
                ],
                [
                  "InternalServerError",
                  "Internal server error"
                ],
                [
                  "ServiceUnavailable",
                  "Service unavailable error"
                ],
                [
                  "Timeout",
                  "Timeout error"
                ],
                [
                  "QuotaExceeded",
                  "Quota exceeded error"
                ],
                [
                  "Conflict",
                  "Conflict error"
                ],
                [
                  "Warning",
                  "Warning error"
                ]
              ],
              "old": [
                [
                  "InvalidRequest",
                  ""
                ],
                [
                  "InvalidArgument",
                  ""
                ],
                [
                  "Unauthorized",
                  ""
                ],
                [
                  "Forbidden",
                  ""
                ],
                [
                  "NotFound",
                  ""
                ],
                [
                  "ProjectNotFound",
                  ""
                ],
                [
                  "OperationNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  ""
                ],
                [
                  "TooManyRequests",
                  ""
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  ""
                ],
                [
                  "InternalServerError",
                  ""
                ],
                [
                  "ServiceUnavailable",
                  ""
                ],
                [
                  "Timeout",
                  ""
                ],
                [
                  "QuotaExceeded",
                  ""
                ],
                [
                  "Conflict",
                  ""
                ],
                [
                  "Warning",
                  ""
                ]
              ]
            }
          },
          {
            "#name": "innererror",
            "Description": {
              "new": "An object containing more specific information than the current object about\nthe error.",
              "old": "An object containing more specific information than the current object about the error."
            },
            "$properties": [
              {
                "#name": "code",
                "Enum": {
                  "new": [
                    [
                      "InvalidRequest",
                      "Invalid request error"
                    ],
                    [
                      "InvalidParameterValue",
                      "Invalid parameter value error"
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      "Knowledge base not found error"
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      "Azure Cognitive Search not found error"
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      "Azure Cognitive Search throttling error"
                    ],
                    [
                      "ExtractionFailure",
                      "Extraction failure error"
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      "Invalid request body format error"
                    ],
                    [
                      "EmptyRequest",
                      "Empty request error"
                    ],
                    [
                      "MissingInputDocuments",
                      "Missing input documents error"
                    ],
                    [
                      "InvalidDocument",
                      "Invalid document error"
                    ],
                    [
                      "ModelVersionIncorrect",
                      "Model version incorrect error"
                    ],
                    [
                      "InvalidDocumentBatch",
                      "Invalid document batch error"
                    ],
                    [
                      "UnsupportedLanguageCode",
                      "Unsupported language code error"
                    ],
                    [
                      "InvalidCountryHint",
                      "Invalid country hint error"
                    ]
                  ],
                  "old": [
                    [
                      "InvalidRequest",
                      ""
                    ],
                    [
                      "InvalidParameterValue",
                      ""
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      ""
                    ],
                    [
                      "ExtractionFailure",
                      ""
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      ""
                    ],
                    [
                      "EmptyRequest",
                      ""
                    ],
                    [
                      "MissingInputDocuments",
                      ""
                    ],
                    [
                      "InvalidDocument",
                      ""
                    ],
                    [
                      "ModelVersionIncorrect",
                      ""
                    ],
                    [
                      "InvalidDocumentBatch",
                      ""
                    ],
                    [
                      "UnsupportedLanguageCode",
                      ""
                    ],
                    [
                      "InvalidCountryHint",
                      ""
                    ]
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /authoring/query-knowledgebases/projects
{
api-version: string ,
top: integer ,
skip: integer ,
maxpagesize: integer ,
}

⚐ Response (200)

{
value:
[
{
projectName: string ,
description: string ,
language: string ,
multilingualResource: boolean ,
settings:
{
defaultAnswer: string ,
}
,
createdDateTime: string ,
lastModifiedDateTime: string ,
lastDeployedDateTime: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
,
}
QuestionAnsweringProjects_GetProjectDetails (updated)
Description Get the requested project metadata.
Reference Link ¶

⚶ Changes

{
  "#id": "QuestionAnsweringProjects_GetProjectDetails",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "Client API version."
      }
    },
    {
      "#name": "projectName",
      "Description": {
        "new": "Name of the project.",
        "old": "The name of the project to use."
      }
    }
  ],
  "$responses": {
    "200": {
      "$properties": [
        {
          "#name": "projectName",
          "Required": {
            "new": true,
            "old": false
          }
        },
        {
          "#name": "language",
          "Description": {
            "new": "Language of the text records. This is BCP-47 representation of a language. For\nexample, use \"en\" for English; \"es\" for Spanish etc. If not set, use \"en\" for\nEnglish as default.",
            "old": "Language of the text records. This is BCP-47 representation of a language. For example, use \"en\" for English; \"es\" for Spanish etc. If not set, use \"en\" for English as default."
          }
        }
      ]
    },
    "default": {
      "$properties": {
        "error": [
          {
            "#name": "code",
            "Enum": {
              "new": [
                [
                  "InvalidRequest",
                  "Invalid request error"
                ],
                [
                  "InvalidArgument",
                  "Invalid argument error"
                ],
                [
                  "Unauthorized",
                  "Unauthorized access error"
                ],
                [
                  "Forbidden",
                  "Forbidden access error"
                ],
                [
                  "NotFound",
                  "Not found error"
                ],
                [
                  "ProjectNotFound",
                  "Project not found error"
                ],
                [
                  "OperationNotFound",
                  "Operation not found error"
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  "Azure Cognitive Search not found error"
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  "Azure Cognitive Search index not found error"
                ],
                [
                  "TooManyRequests",
                  "Too many requests error"
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  "Azure Cognitive Search throttling error"
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  "Azure Cognitive Search index limit reached error"
                ],
                [
                  "InternalServerError",
                  "Internal server error"
                ],
                [
                  "ServiceUnavailable",
                  "Service unavailable error"
                ],
                [
                  "Timeout",
                  "Timeout error"
                ],
                [
                  "QuotaExceeded",
                  "Quota exceeded error"
                ],
                [
                  "Conflict",
                  "Conflict error"
                ],
                [
                  "Warning",
                  "Warning error"
                ]
              ],
              "old": [
                [
                  "InvalidRequest",
                  ""
                ],
                [
                  "InvalidArgument",
                  ""
                ],
                [
                  "Unauthorized",
                  ""
                ],
                [
                  "Forbidden",
                  ""
                ],
                [
                  "NotFound",
                  ""
                ],
                [
                  "ProjectNotFound",
                  ""
                ],
                [
                  "OperationNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  ""
                ],
                [
                  "TooManyRequests",
                  ""
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  ""
                ],
                [
                  "InternalServerError",
                  ""
                ],
                [
                  "ServiceUnavailable",
                  ""
                ],
                [
                  "Timeout",
                  ""
                ],
                [
                  "QuotaExceeded",
                  ""
                ],
                [
                  "Conflict",
                  ""
                ],
                [
                  "Warning",
                  ""
                ]
              ]
            }
          },
          {
            "#name": "innererror",
            "Description": {
              "new": "An object containing more specific information than the current object about\nthe error.",
              "old": "An object containing more specific information than the current object about the error."
            },
            "$properties": [
              {
                "#name": "code",
                "Enum": {
                  "new": [
                    [
                      "InvalidRequest",
                      "Invalid request error"
                    ],
                    [
                      "InvalidParameterValue",
                      "Invalid parameter value error"
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      "Knowledge base not found error"
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      "Azure Cognitive Search not found error"
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      "Azure Cognitive Search throttling error"
                    ],
                    [
                      "ExtractionFailure",
                      "Extraction failure error"
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      "Invalid request body format error"
                    ],
                    [
                      "EmptyRequest",
                      "Empty request error"
                    ],
                    [
                      "MissingInputDocuments",
                      "Missing input documents error"
                    ],
                    [
                      "InvalidDocument",
                      "Invalid document error"
                    ],
                    [
                      "ModelVersionIncorrect",
                      "Model version incorrect error"
                    ],
                    [
                      "InvalidDocumentBatch",
                      "Invalid document batch error"
                    ],
                    [
                      "UnsupportedLanguageCode",
                      "Unsupported language code error"
                    ],
                    [
                      "InvalidCountryHint",
                      "Invalid country hint error"
                    ]
                  ],
                  "old": [
                    [
                      "InvalidRequest",
                      ""
                    ],
                    [
                      "InvalidParameterValue",
                      ""
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      ""
                    ],
                    [
                      "ExtractionFailure",
                      ""
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      ""
                    ],
                    [
                      "EmptyRequest",
                      ""
                    ],
                    [
                      "MissingInputDocuments",
                      ""
                    ],
                    [
                      "InvalidDocument",
                      ""
                    ],
                    [
                      "ModelVersionIncorrect",
                      ""
                    ],
                    [
                      "InvalidDocumentBatch",
                      ""
                    ],
                    [
                      "UnsupportedLanguageCode",
                      ""
                    ],
                    [
                      "InvalidCountryHint",
                      ""
                    ]
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /authoring/query-knowledgebases/projects/{projectName}
{
api-version: string ,
projectName: string ,
}

⚐ Response (200)

{
projectName: string ,
description: string ,
language: string ,
multilingualResource: boolean ,
settings:
{
defaultAnswer: string ,
}
,
createdDateTime: string ,
lastModifiedDateTime: string ,
lastDeployedDateTime: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
,
}
QuestionAnsweringProjects_CreateProject (updated)
Description Create or update a project.
Reference Link ¶

⚶ Changes

{
  "#id": "QuestionAnsweringProjects_CreateProject",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "Client API version."
      }
    },
    {
      "#name": "projectName",
      "Description": {
        "new": "Name of the project.",
        "old": "The name of the project to use."
      }
    },
    {
      "#name": "body",
      "Description": {
        "new": "The resource instance.",
        "old": "Parameters needed to create the project."
      },
      "$schema": {
        "Description": {
          "new": "Represents the project.",
          "old": "Parameters needed to create the project."
        },
        "$properties": [
          {
            "#name": "language",
            "Description": {
              "new": "Language of the text records. This is BCP-47 representation of a language. For\nexample, use \"en\" for English; \"es\" for Spanish etc. If not set, use \"en\" for\nEnglish as default.",
              "old": "Language of the text records. This is BCP-47 representation of a language. For example, use \"en\" for English; \"es\" for Spanish etc. If not set, use \"en\" for English as default."
            },
            "Required": {
              "new": false,
              "old": true
            }
          },
          {
            "#name": "multilingualResource",
            "Description": {
              "new": "Resource enabled for multiple languages across projects or not.",
              "old": "Set to true to enable creating knowledgebases in different languages for the same resource."
            }
          }
        ]
      }
    }
  ],
  "$responses": {
    "200": {
      "$properties": [
        {
          "#name": "projectName",
          "Required": {
            "new": true,
            "old": false
          }
        },
        {
          "#name": "language",
          "Description": {
            "new": "Language of the text records. This is BCP-47 representation of a language. For\nexample, use \"en\" for English; \"es\" for Spanish etc. If not set, use \"en\" for\nEnglish as default.",
            "old": "Language of the text records. This is BCP-47 representation of a language. For example, use \"en\" for English; \"es\" for Spanish etc. If not set, use \"en\" for English as default."
          }
        }
      ]
    },
    "201": {
      "$properties": [
        {
          "#name": "projectName",
          "Required": {
            "new": true,
            "old": false
          }
        },
        {
          "#name": "language",
          "Description": {
            "new": "Language of the text records. This is BCP-47 representation of a language. For\nexample, use \"en\" for English; \"es\" for Spanish etc. If not set, use \"en\" for\nEnglish as default.",
            "old": "Language of the text records. This is BCP-47 representation of a language. For example, use \"en\" for English; \"es\" for Spanish etc. If not set, use \"en\" for English as default."
          }
        }
      ]
    },
    "default": {
      "$properties": {
        "error": [
          {
            "#name": "code",
            "Enum": {
              "new": [
                [
                  "InvalidRequest",
                  "Invalid request error"
                ],
                [
                  "InvalidArgument",
                  "Invalid argument error"
                ],
                [
                  "Unauthorized",
                  "Unauthorized access error"
                ],
                [
                  "Forbidden",
                  "Forbidden access error"
                ],
                [
                  "NotFound",
                  "Not found error"
                ],
                [
                  "ProjectNotFound",
                  "Project not found error"
                ],
                [
                  "OperationNotFound",
                  "Operation not found error"
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  "Azure Cognitive Search not found error"
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  "Azure Cognitive Search index not found error"
                ],
                [
                  "TooManyRequests",
                  "Too many requests error"
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  "Azure Cognitive Search throttling error"
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  "Azure Cognitive Search index limit reached error"
                ],
                [
                  "InternalServerError",
                  "Internal server error"
                ],
                [
                  "ServiceUnavailable",
                  "Service unavailable error"
                ],
                [
                  "Timeout",
                  "Timeout error"
                ],
                [
                  "QuotaExceeded",
                  "Quota exceeded error"
                ],
                [
                  "Conflict",
                  "Conflict error"
                ],
                [
                  "Warning",
                  "Warning error"
                ]
              ],
              "old": [
                [
                  "InvalidRequest",
                  ""
                ],
                [
                  "InvalidArgument",
                  ""
                ],
                [
                  "Unauthorized",
                  ""
                ],
                [
                  "Forbidden",
                  ""
                ],
                [
                  "NotFound",
                  ""
                ],
                [
                  "ProjectNotFound",
                  ""
                ],
                [
                  "OperationNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  ""
                ],
                [
                  "TooManyRequests",
                  ""
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  ""
                ],
                [
                  "InternalServerError",
                  ""
                ],
                [
                  "ServiceUnavailable",
                  ""
                ],
                [
                  "Timeout",
                  ""
                ],
                [
                  "QuotaExceeded",
                  ""
                ],
                [
                  "Conflict",
                  ""
                ],
                [
                  "Warning",
                  ""
                ]
              ]
            }
          },
          {
            "#name": "innererror",
            "Description": {
              "new": "An object containing more specific information than the current object about\nthe error.",
              "old": "An object containing more specific information than the current object about the error."
            },
            "$properties": [
              {
                "#name": "code",
                "Enum": {
                  "new": [
                    [
                      "InvalidRequest",
                      "Invalid request error"
                    ],
                    [
                      "InvalidParameterValue",
                      "Invalid parameter value error"
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      "Knowledge base not found error"
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      "Azure Cognitive Search not found error"
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      "Azure Cognitive Search throttling error"
                    ],
                    [
                      "ExtractionFailure",
                      "Extraction failure error"
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      "Invalid request body format error"
                    ],
                    [
                      "EmptyRequest",
                      "Empty request error"
                    ],
                    [
                      "MissingInputDocuments",
                      "Missing input documents error"
                    ],
                    [
                      "InvalidDocument",
                      "Invalid document error"
                    ],
                    [
                      "ModelVersionIncorrect",
                      "Model version incorrect error"
                    ],
                    [
                      "InvalidDocumentBatch",
                      "Invalid document batch error"
                    ],
                    [
                      "UnsupportedLanguageCode",
                      "Unsupported language code error"
                    ],
                    [
                      "InvalidCountryHint",
                      "Invalid country hint error"
                    ]
                  ],
                  "old": [
                    [
                      "InvalidRequest",
                      ""
                    ],
                    [
                      "InvalidParameterValue",
                      ""
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      ""
                    ],
                    [
                      "ExtractionFailure",
                      ""
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      ""
                    ],
                    [
                      "EmptyRequest",
                      ""
                    ],
                    [
                      "MissingInputDocuments",
                      ""
                    ],
                    [
                      "InvalidDocument",
                      ""
                    ],
                    [
                      "ModelVersionIncorrect",
                      ""
                    ],
                    [
                      "InvalidDocumentBatch",
                      ""
                    ],
                    [
                      "UnsupportedLanguageCode",
                      ""
                    ],
                    [
                      "InvalidCountryHint",
                      ""
                    ]
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /authoring/query-knowledgebases/projects/{projectName}
{
api-version: string ,
projectName: string ,
body:
{
description: string ,
language: string ,
multilingualResource: boolean ,
settings:
{
defaultAnswer: string ,
}
,
}
,
}

⚐ Response (200)

{
projectName: string ,
description: string ,
language: string ,
multilingualResource: boolean ,
settings:
{
defaultAnswer: string ,
}
,
createdDateTime: string ,
lastModifiedDateTime: string ,
lastDeployedDateTime: string ,
}

⚐ Response (201)

{
projectName: string ,
description: string ,
language: string ,
multilingualResource: boolean ,
settings:
{
defaultAnswer: string ,
}
,
createdDateTime: string ,
lastModifiedDateTime: string ,
lastDeployedDateTime: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
,
}
QuestionAnsweringProjects_DeleteProject (updated)
Description Delete the project.
Reference Link ¶

⚶ Changes

{
  "#id": "QuestionAnsweringProjects_DeleteProject",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "Client API version."
      }
    }
  ],
  "$responses": {
    "default": {
      "$properties": {
        "error": [
          {
            "#name": "code",
            "Enum": {
              "new": [
                [
                  "InvalidRequest",
                  "Invalid request error"
                ],
                [
                  "InvalidArgument",
                  "Invalid argument error"
                ],
                [
                  "Unauthorized",
                  "Unauthorized access error"
                ],
                [
                  "Forbidden",
                  "Forbidden access error"
                ],
                [
                  "NotFound",
                  "Not found error"
                ],
                [
                  "ProjectNotFound",
                  "Project not found error"
                ],
                [
                  "OperationNotFound",
                  "Operation not found error"
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  "Azure Cognitive Search not found error"
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  "Azure Cognitive Search index not found error"
                ],
                [
                  "TooManyRequests",
                  "Too many requests error"
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  "Azure Cognitive Search throttling error"
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  "Azure Cognitive Search index limit reached error"
                ],
                [
                  "InternalServerError",
                  "Internal server error"
                ],
                [
                  "ServiceUnavailable",
                  "Service unavailable error"
                ],
                [
                  "Timeout",
                  "Timeout error"
                ],
                [
                  "QuotaExceeded",
                  "Quota exceeded error"
                ],
                [
                  "Conflict",
                  "Conflict error"
                ],
                [
                  "Warning",
                  "Warning error"
                ]
              ],
              "old": [
                [
                  "InvalidRequest",
                  ""
                ],
                [
                  "InvalidArgument",
                  ""
                ],
                [
                  "Unauthorized",
                  ""
                ],
                [
                  "Forbidden",
                  ""
                ],
                [
                  "NotFound",
                  ""
                ],
                [
                  "ProjectNotFound",
                  ""
                ],
                [
                  "OperationNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  ""
                ],
                [
                  "TooManyRequests",
                  ""
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  ""
                ],
                [
                  "InternalServerError",
                  ""
                ],
                [
                  "ServiceUnavailable",
                  ""
                ],
                [
                  "Timeout",
                  ""
                ],
                [
                  "QuotaExceeded",
                  ""
                ],
                [
                  "Conflict",
                  ""
                ],
                [
                  "Warning",
                  ""
                ]
              ]
            }
          },
          {
            "#name": "innererror",
            "Description": {
              "new": "An object containing more specific information than the current object about\nthe error.",
              "old": "An object containing more specific information than the current object about the error."
            },
            "$properties": [
              {
                "#name": "code",
                "Enum": {
                  "new": [
                    [
                      "InvalidRequest",
                      "Invalid request error"
                    ],
                    [
                      "InvalidParameterValue",
                      "Invalid parameter value error"
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      "Knowledge base not found error"
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      "Azure Cognitive Search not found error"
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      "Azure Cognitive Search throttling error"
                    ],
                    [
                      "ExtractionFailure",
                      "Extraction failure error"
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      "Invalid request body format error"
                    ],
                    [
                      "EmptyRequest",
                      "Empty request error"
                    ],
                    [
                      "MissingInputDocuments",
                      "Missing input documents error"
                    ],
                    [
                      "InvalidDocument",
                      "Invalid document error"
                    ],
                    [
                      "ModelVersionIncorrect",
                      "Model version incorrect error"
                    ],
                    [
                      "InvalidDocumentBatch",
                      "Invalid document batch error"
                    ],
                    [
                      "UnsupportedLanguageCode",
                      "Unsupported language code error"
                    ],
                    [
                      "InvalidCountryHint",
                      "Invalid country hint error"
                    ]
                  ],
                  "old": [
                    [
                      "InvalidRequest",
                      ""
                    ],
                    [
                      "InvalidParameterValue",
                      ""
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      ""
                    ],
                    [
                      "ExtractionFailure",
                      ""
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      ""
                    ],
                    [
                      "EmptyRequest",
                      ""
                    ],
                    [
                      "MissingInputDocuments",
                      ""
                    ],
                    [
                      "InvalidDocument",
                      ""
                    ],
                    [
                      "ModelVersionIncorrect",
                      ""
                    ],
                    [
                      "InvalidDocumentBatch",
                      ""
                    ],
                    [
                      "UnsupportedLanguageCode",
                      ""
                    ],
                    [
                      "InvalidCountryHint",
                      ""
                    ]
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

DELETE:  /authoring/query-knowledgebases/projects/{projectName}
{
api-version: string ,
projectName: string ,
}

⚐ Response (202)

{
operation-location: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
,
}
QuestionAnsweringProjects_Export (updated)
Description Export project metadata and assets.
Reference Link ¶

⚶ Changes

{
  "#id": "QuestionAnsweringProjects_Export",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "Client API version."
      }
    }
  ],
  "$responses": {
    "default": {
      "$properties": {
        "error": [
          {
            "#name": "code",
            "Enum": {
              "new": [
                [
                  "InvalidRequest",
                  "Invalid request error"
                ],
                [
                  "InvalidArgument",
                  "Invalid argument error"
                ],
                [
                  "Unauthorized",
                  "Unauthorized access error"
                ],
                [
                  "Forbidden",
                  "Forbidden access error"
                ],
                [
                  "NotFound",
                  "Not found error"
                ],
                [
                  "ProjectNotFound",
                  "Project not found error"
                ],
                [
                  "OperationNotFound",
                  "Operation not found error"
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  "Azure Cognitive Search not found error"
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  "Azure Cognitive Search index not found error"
                ],
                [
                  "TooManyRequests",
                  "Too many requests error"
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  "Azure Cognitive Search throttling error"
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  "Azure Cognitive Search index limit reached error"
                ],
                [
                  "InternalServerError",
                  "Internal server error"
                ],
                [
                  "ServiceUnavailable",
                  "Service unavailable error"
                ],
                [
                  "Timeout",
                  "Timeout error"
                ],
                [
                  "QuotaExceeded",
                  "Quota exceeded error"
                ],
                [
                  "Conflict",
                  "Conflict error"
                ],
                [
                  "Warning",
                  "Warning error"
                ]
              ],
              "old": [
                [
                  "InvalidRequest",
                  ""
                ],
                [
                  "InvalidArgument",
                  ""
                ],
                [
                  "Unauthorized",
                  ""
                ],
                [
                  "Forbidden",
                  ""
                ],
                [
                  "NotFound",
                  ""
                ],
                [
                  "ProjectNotFound",
                  ""
                ],
                [
                  "OperationNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  ""
                ],
                [
                  "TooManyRequests",
                  ""
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  ""
                ],
                [
                  "InternalServerError",
                  ""
                ],
                [
                  "ServiceUnavailable",
                  ""
                ],
                [
                  "Timeout",
                  ""
                ],
                [
                  "QuotaExceeded",
                  ""
                ],
                [
                  "Conflict",
                  ""
                ],
                [
                  "Warning",
                  ""
                ]
              ]
            }
          },
          {
            "#name": "innererror",
            "Description": {
              "new": "An object containing more specific information than the current object about\nthe error.",
              "old": "An object containing more specific information than the current object about the error."
            },
            "$properties": [
              {
                "#name": "code",
                "Enum": {
                  "new": [
                    [
                      "InvalidRequest",
                      "Invalid request error"
                    ],
                    [
                      "InvalidParameterValue",
                      "Invalid parameter value error"
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      "Knowledge base not found error"
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      "Azure Cognitive Search not found error"
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      "Azure Cognitive Search throttling error"
                    ],
                    [
                      "ExtractionFailure",
                      "Extraction failure error"
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      "Invalid request body format error"
                    ],
                    [
                      "EmptyRequest",
                      "Empty request error"
                    ],
                    [
                      "MissingInputDocuments",
                      "Missing input documents error"
                    ],
                    [
                      "InvalidDocument",
                      "Invalid document error"
                    ],
                    [
                      "ModelVersionIncorrect",
                      "Model version incorrect error"
                    ],
                    [
                      "InvalidDocumentBatch",
                      "Invalid document batch error"
                    ],
                    [
                      "UnsupportedLanguageCode",
                      "Unsupported language code error"
                    ],
                    [
                      "InvalidCountryHint",
                      "Invalid country hint error"
                    ]
                  ],
                  "old": [
                    [
                      "InvalidRequest",
                      ""
                    ],
                    [
                      "InvalidParameterValue",
                      ""
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      ""
                    ],
                    [
                      "ExtractionFailure",
                      ""
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      ""
                    ],
                    [
                      "EmptyRequest",
                      ""
                    ],
                    [
                      "MissingInputDocuments",
                      ""
                    ],
                    [
                      "InvalidDocument",
                      ""
                    ],
                    [
                      "ModelVersionIncorrect",
                      ""
                    ],
                    [
                      "InvalidDocumentBatch",
                      ""
                    ],
                    [
                      "UnsupportedLanguageCode",
                      ""
                    ],
                    [
                      "InvalidCountryHint",
                      ""
                    ]
                  ]
                }
              }
            ]
          }
        ]
      }
    },
    "@removed_bbe12c01d7a444f38618ca8294e83949": {
      "200": {
        "Description": "Export job status, project metadata, and assets.",
        "Type": "string"
      }
    }
  }
}

⚼ Request

POST:  /authoring/query-knowledgebases/projects/{projectName}/:export
{
api-version: string ,
projectName: string ,
format: string ,
assetKind: string ,
}

⚐ Response (202)

{
operation-location: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
,
}
QuestionAnsweringProjects_Import (updated)
Description Import project assets.
Reference Link ¶

⚶ Changes

{
  "#id": "QuestionAnsweringProjects_Import",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "Client API version."
      }
    },
    {
      "body": {
        "$properties": {
          "metadata": [
            {
              "@added_b8f21f697ea74afa91ebd9185ed16537": {
                "#name": "projectName",
                "Description": "Name of the project.",
                "Required": true,
                "Type": "string"
              }
            },
            {
              "#name": "language",
              "Description": {
                "new": "Language of the text records. This is BCP-47 representation of a language. For\nexample, use \"en\" for English; \"es\" for Spanish etc. If not set, use \"en\" for\nEnglish as default.",
                "old": "Language of the text records. This is BCP-47 representation of a language. For example, use \"en\" for English; \"es\" for Spanish etc. If not set, use \"en\" for English as default."
              },
              "Required": {
                "new": false,
                "old": true
              }
            },
            {
              "#name": "multilingualResource",
              "Description": {
                "new": "Resource enabled for multiple languages across projects or not.",
                "old": "Set to true to enable creating knowledgebases in different languages for the same resource."
              }
            },
            {
              "@added_e24079ebe14a4ebfbb856c7d26ca9c00": {
                "#name": "createdDateTime",
                "Description": "Project creation date-time.",
                "Format": "date-time",
                "Required": false,
                "Type": "string"
              }
            },
            {
              "@added_187eb5d36db840509ff0fbb60194d594": {
                "#name": "lastModifiedDateTime",
                "Description": "Represents the project last modified date-time.",
                "Format": "date-time",
                "Required": false,
                "Type": "string"
              }
            },
            {
              "@added_37a16a5c4f05475b9e2f07f69f51c1e4": {
                "#name": "lastDeployedDateTime",
                "Description": "Represents the project last deployment date-time.",
                "Format": "date-time",
                "Required": false,
                "Type": "string"
              }
            }
          ],
          "assets": [
            {
              "qnas": {
                "Type": {
                  "new": "object",
                  "old": "string"
                }
              }
            }
          ]
        }
      }
    }
  ],
  "$responses": {
    "default": {
      "$properties": {
        "error": [
          {
            "#name": "code",
            "Enum": {
              "new": [
                [
                  "InvalidRequest",
                  "Invalid request error"
                ],
                [
                  "InvalidArgument",
                  "Invalid argument error"
                ],
                [
                  "Unauthorized",
                  "Unauthorized access error"
                ],
                [
                  "Forbidden",
                  "Forbidden access error"
                ],
                [
                  "NotFound",
                  "Not found error"
                ],
                [
                  "ProjectNotFound",
                  "Project not found error"
                ],
                [
                  "OperationNotFound",
                  "Operation not found error"
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  "Azure Cognitive Search not found error"
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  "Azure Cognitive Search index not found error"
                ],
                [
                  "TooManyRequests",
                  "Too many requests error"
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  "Azure Cognitive Search throttling error"
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  "Azure Cognitive Search index limit reached error"
                ],
                [
                  "InternalServerError",
                  "Internal server error"
                ],
                [
                  "ServiceUnavailable",
                  "Service unavailable error"
                ],
                [
                  "Timeout",
                  "Timeout error"
                ],
                [
                  "QuotaExceeded",
                  "Quota exceeded error"
                ],
                [
                  "Conflict",
                  "Conflict error"
                ],
                [
                  "Warning",
                  "Warning error"
                ]
              ],
              "old": [
                [
                  "InvalidRequest",
                  ""
                ],
                [
                  "InvalidArgument",
                  ""
                ],
                [
                  "Unauthorized",
                  ""
                ],
                [
                  "Forbidden",
                  ""
                ],
                [
                  "NotFound",
                  ""
                ],
                [
                  "ProjectNotFound",
                  ""
                ],
                [
                  "OperationNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  ""
                ],
                [
                  "TooManyRequests",
                  ""
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  ""
                ],
                [
                  "InternalServerError",
                  ""
                ],
                [
                  "ServiceUnavailable",
                  ""
                ],
                [
                  "Timeout",
                  ""
                ],
                [
                  "QuotaExceeded",
                  ""
                ],
                [
                  "Conflict",
                  ""
                ],
                [
                  "Warning",
                  ""
                ]
              ]
            }
          },
          {
            "#name": "innererror",
            "Description": {
              "new": "An object containing more specific information than the current object about\nthe error.",
              "old": "An object containing more specific information than the current object about the error."
            },
            "$properties": [
              {
                "#name": "code",
                "Enum": {
                  "new": [
                    [
                      "InvalidRequest",
                      "Invalid request error"
                    ],
                    [
                      "InvalidParameterValue",
                      "Invalid parameter value error"
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      "Knowledge base not found error"
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      "Azure Cognitive Search not found error"
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      "Azure Cognitive Search throttling error"
                    ],
                    [
                      "ExtractionFailure",
                      "Extraction failure error"
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      "Invalid request body format error"
                    ],
                    [
                      "EmptyRequest",
                      "Empty request error"
                    ],
                    [
                      "MissingInputDocuments",
                      "Missing input documents error"
                    ],
                    [
                      "InvalidDocument",
                      "Invalid document error"
                    ],
                    [
                      "ModelVersionIncorrect",
                      "Model version incorrect error"
                    ],
                    [
                      "InvalidDocumentBatch",
                      "Invalid document batch error"
                    ],
                    [
                      "UnsupportedLanguageCode",
                      "Unsupported language code error"
                    ],
                    [
                      "InvalidCountryHint",
                      "Invalid country hint error"
                    ]
                  ],
                  "old": [
                    [
                      "InvalidRequest",
                      ""
                    ],
                    [
                      "InvalidParameterValue",
                      ""
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      ""
                    ],
                    [
                      "ExtractionFailure",
                      ""
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      ""
                    ],
                    [
                      "EmptyRequest",
                      ""
                    ],
                    [
                      "MissingInputDocuments",
                      ""
                    ],
                    [
                      "InvalidDocument",
                      ""
                    ],
                    [
                      "ModelVersionIncorrect",
                      ""
                    ],
                    [
                      "InvalidDocumentBatch",
                      ""
                    ],
                    [
                      "UnsupportedLanguageCode",
                      ""
                    ],
                    [
                      "InvalidCountryHint",
                      ""
                    ]
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

POST:  /authoring/query-knowledgebases/projects/{projectName}/:import
{
api-version: string ,
projectName: string ,
format: string ,
assetKind: string ,
body:
{
metadata:
{
projectName: string ,
description: string ,
language: string ,
multilingualResource: boolean ,
settings:
{
defaultAnswer: string ,
}
,
createdDateTime: string ,
lastModifiedDateTime: string ,
lastDeployedDateTime: string ,
}
,
assets:
{
synonyms:
[
{
alterations:
[
string ,
]
,
}
,
]
,
qnas:
[
{
id: integer ,
answer: string ,
source: string ,
questions:
[
string ,
]
,
metadata: object ,
dialog:
{
isContextOnly: boolean ,
prompts:
[
{
displayOrder: integer ,
qnaId: integer ,
qna:
{
id: integer ,
answer: string ,
source: string ,
questions:
[
string ,
]
,
metadata: object ,
dialog: string ,
activeLearningSuggestions:
[
{
clusterHead: string ,
suggestedQuestions:
[
{
question: string ,
userSuggestedCount: integer ,
autoSuggestedCount: integer ,
}
,
]
,
}
,
]
,
}
,
displayText: string ,
}
,
]
,
}
,
activeLearningSuggestions:
[
{
clusterHead: string ,
suggestedQuestions:
[
{
question: string ,
userSuggestedCount: integer ,
autoSuggestedCount: integer ,
}
,
]
,
}
,
]
,
lastUpdatedDateTime: string ,
sourceDisplayName: string ,
}
,
]
,
}
,
fileUri: string ,
}
,
}

⚐ Response (202)

{
operation-location: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
,
}
QuestionAnsweringProjects_ListDeployments (updated)
Description List all deployments of a project.
Reference Link ¶

⚶ Changes

{
  "#id": "QuestionAnsweringProjects_ListDeployments",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "Client API version."
      }
    },
    {
      "#name": "projectName",
      "Description": {
        "new": "Name of the project.",
        "old": "The name of the project to use."
      }
    }
  ],
  "$responses": {
    "200": {
      "Description": {
        "new": "Paged collection of ProjectDeployment items",
        "old": "All deployments of a project."
      },
      "$properties": [
        {
          "#name": "value",
          "Description": {
            "new": "The ProjectDeployment items on this page",
            "old": "List of deployments of a project."
          },
          "Required": {
            "new": true,
            "old": false
          },
          "$items": {
            "$properties": [
              {
                "#name": "deploymentName",
                "Required": {
                  "new": true,
                  "old": false
                }
              }
            ]
          }
        }
      ]
    },
    "default": {
      "$properties": {
        "error": [
          {
            "#name": "code",
            "Enum": {
              "new": [
                [
                  "InvalidRequest",
                  "Invalid request error"
                ],
                [
                  "InvalidArgument",
                  "Invalid argument error"
                ],
                [
                  "Unauthorized",
                  "Unauthorized access error"
                ],
                [
                  "Forbidden",
                  "Forbidden access error"
                ],
                [
                  "NotFound",
                  "Not found error"
                ],
                [
                  "ProjectNotFound",
                  "Project not found error"
                ],
                [
                  "OperationNotFound",
                  "Operation not found error"
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  "Azure Cognitive Search not found error"
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  "Azure Cognitive Search index not found error"
                ],
                [
                  "TooManyRequests",
                  "Too many requests error"
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  "Azure Cognitive Search throttling error"
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  "Azure Cognitive Search index limit reached error"
                ],
                [
                  "InternalServerError",
                  "Internal server error"
                ],
                [
                  "ServiceUnavailable",
                  "Service unavailable error"
                ],
                [
                  "Timeout",
                  "Timeout error"
                ],
                [
                  "QuotaExceeded",
                  "Quota exceeded error"
                ],
                [
                  "Conflict",
                  "Conflict error"
                ],
                [
                  "Warning",
                  "Warning error"
                ]
              ],
              "old": [
                [
                  "InvalidRequest",
                  ""
                ],
                [
                  "InvalidArgument",
                  ""
                ],
                [
                  "Unauthorized",
                  ""
                ],
                [
                  "Forbidden",
                  ""
                ],
                [
                  "NotFound",
                  ""
                ],
                [
                  "ProjectNotFound",
                  ""
                ],
                [
                  "OperationNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  ""
                ],
                [
                  "TooManyRequests",
                  ""
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  ""
                ],
                [
                  "InternalServerError",
                  ""
                ],
                [
                  "ServiceUnavailable",
                  ""
                ],
                [
                  "Timeout",
                  ""
                ],
                [
                  "QuotaExceeded",
                  ""
                ],
                [
                  "Conflict",
                  ""
                ],
                [
                  "Warning",
                  ""
                ]
              ]
            }
          },
          {
            "#name": "innererror",
            "Description": {
              "new": "An object containing more specific information than the current object about\nthe error.",
              "old": "An object containing more specific information than the current object about the error."
            },
            "$properties": [
              {
                "#name": "code",
                "Enum": {
                  "new": [
                    [
                      "InvalidRequest",
                      "Invalid request error"
                    ],
                    [
                      "InvalidParameterValue",
                      "Invalid parameter value error"
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      "Knowledge base not found error"
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      "Azure Cognitive Search not found error"
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      "Azure Cognitive Search throttling error"
                    ],
                    [
                      "ExtractionFailure",
                      "Extraction failure error"
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      "Invalid request body format error"
                    ],
                    [
                      "EmptyRequest",
                      "Empty request error"
                    ],
                    [
                      "MissingInputDocuments",
                      "Missing input documents error"
                    ],
                    [
                      "InvalidDocument",
                      "Invalid document error"
                    ],
                    [
                      "ModelVersionIncorrect",
                      "Model version incorrect error"
                    ],
                    [
                      "InvalidDocumentBatch",
                      "Invalid document batch error"
                    ],
                    [
                      "UnsupportedLanguageCode",
                      "Unsupported language code error"
                    ],
                    [
                      "InvalidCountryHint",
                      "Invalid country hint error"
                    ]
                  ],
                  "old": [
                    [
                      "InvalidRequest",
                      ""
                    ],
                    [
                      "InvalidParameterValue",
                      ""
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      ""
                    ],
                    [
                      "ExtractionFailure",
                      ""
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      ""
                    ],
                    [
                      "EmptyRequest",
                      ""
                    ],
                    [
                      "MissingInputDocuments",
                      ""
                    ],
                    [
                      "InvalidDocument",
                      ""
                    ],
                    [
                      "ModelVersionIncorrect",
                      ""
                    ],
                    [
                      "InvalidDocumentBatch",
                      ""
                    ],
                    [
                      "UnsupportedLanguageCode",
                      ""
                    ],
                    [
                      "InvalidCountryHint",
                      ""
                    ]
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /authoring/query-knowledgebases/projects/{projectName}/deployments
{
api-version: string ,
projectName: string ,
top: integer ,
skip: integer ,
maxpagesize: integer ,
}

⚐ Response (200)

{
value:
[
{
deploymentName: string ,
lastDeployedDateTime: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
,
}
QuestionAnsweringProjects_DeployProject (updated)
Description Deploy project to production.
Reference Link ¶

⚶ Changes

{
  "#id": "QuestionAnsweringProjects_DeployProject",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "Client API version."
      }
    }
  ],
  "$responses": {
    "default": {
      "$properties": {
        "error": [
          {
            "#name": "code",
            "Enum": {
              "new": [
                [
                  "InvalidRequest",
                  "Invalid request error"
                ],
                [
                  "InvalidArgument",
                  "Invalid argument error"
                ],
                [
                  "Unauthorized",
                  "Unauthorized access error"
                ],
                [
                  "Forbidden",
                  "Forbidden access error"
                ],
                [
                  "NotFound",
                  "Not found error"
                ],
                [
                  "ProjectNotFound",
                  "Project not found error"
                ],
                [
                  "OperationNotFound",
                  "Operation not found error"
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  "Azure Cognitive Search not found error"
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  "Azure Cognitive Search index not found error"
                ],
                [
                  "TooManyRequests",
                  "Too many requests error"
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  "Azure Cognitive Search throttling error"
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  "Azure Cognitive Search index limit reached error"
                ],
                [
                  "InternalServerError",
                  "Internal server error"
                ],
                [
                  "ServiceUnavailable",
                  "Service unavailable error"
                ],
                [
                  "Timeout",
                  "Timeout error"
                ],
                [
                  "QuotaExceeded",
                  "Quota exceeded error"
                ],
                [
                  "Conflict",
                  "Conflict error"
                ],
                [
                  "Warning",
                  "Warning error"
                ]
              ],
              "old": [
                [
                  "InvalidRequest",
                  ""
                ],
                [
                  "InvalidArgument",
                  ""
                ],
                [
                  "Unauthorized",
                  ""
                ],
                [
                  "Forbidden",
                  ""
                ],
                [
                  "NotFound",
                  ""
                ],
                [
                  "ProjectNotFound",
                  ""
                ],
                [
                  "OperationNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  ""
                ],
                [
                  "TooManyRequests",
                  ""
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  ""
                ],
                [
                  "InternalServerError",
                  ""
                ],
                [
                  "ServiceUnavailable",
                  ""
                ],
                [
                  "Timeout",
                  ""
                ],
                [
                  "QuotaExceeded",
                  ""
                ],
                [
                  "Conflict",
                  ""
                ],
                [
                  "Warning",
                  ""
                ]
              ]
            }
          },
          {
            "#name": "innererror",
            "Description": {
              "new": "An object containing more specific information than the current object about\nthe error.",
              "old": "An object containing more specific information than the current object about the error."
            },
            "$properties": [
              {
                "#name": "code",
                "Enum": {
                  "new": [
                    [
                      "InvalidRequest",
                      "Invalid request error"
                    ],
                    [
                      "InvalidParameterValue",
                      "Invalid parameter value error"
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      "Knowledge base not found error"
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      "Azure Cognitive Search not found error"
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      "Azure Cognitive Search throttling error"
                    ],
                    [
                      "ExtractionFailure",
                      "Extraction failure error"
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      "Invalid request body format error"
                    ],
                    [
                      "EmptyRequest",
                      "Empty request error"
                    ],
                    [
                      "MissingInputDocuments",
                      "Missing input documents error"
                    ],
                    [
                      "InvalidDocument",
                      "Invalid document error"
                    ],
                    [
                      "ModelVersionIncorrect",
                      "Model version incorrect error"
                    ],
                    [
                      "InvalidDocumentBatch",
                      "Invalid document batch error"
                    ],
                    [
                      "UnsupportedLanguageCode",
                      "Unsupported language code error"
                    ],
                    [
                      "InvalidCountryHint",
                      "Invalid country hint error"
                    ]
                  ],
                  "old": [
                    [
                      "InvalidRequest",
                      ""
                    ],
                    [
                      "InvalidParameterValue",
                      ""
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      ""
                    ],
                    [
                      "ExtractionFailure",
                      ""
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      ""
                    ],
                    [
                      "EmptyRequest",
                      ""
                    ],
                    [
                      "MissingInputDocuments",
                      ""
                    ],
                    [
                      "InvalidDocument",
                      ""
                    ],
                    [
                      "ModelVersionIncorrect",
                      ""
                    ],
                    [
                      "InvalidDocumentBatch",
                      ""
                    ],
                    [
                      "UnsupportedLanguageCode",
                      ""
                    ],
                    [
                      "InvalidCountryHint",
                      ""
                    ]
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /authoring/query-knowledgebases/projects/{projectName}/deployments/{deploymentName}
{
api-version: string ,
projectName: string ,
deploymentName: string ,
}

⚐ Response (202)

{
operation-location: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
,
}
QuestionAnsweringProjects_GetDeployStatus (updated)
Description Gets the status of a Deploy job.
Reference Link ¶

⚶ Changes

{
  "#id": "QuestionAnsweringProjects_GetDeployStatus",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "Client API version."
      }
    },
    {
      "#name": "projectName",
      "Description": {
        "new": "Name of the project.",
        "old": "The name of the project to use."
      }
    },
    {
      "#name": "deploymentName",
      "Description": {
        "new": "Name of the deployment.",
        "old": "The name of the specific deployment of the project to use."
      }
    },
    {
      "#name": "jobId",
      "Description": {
        "new": "The job ID.",
        "old": "Job ID."
      }
    }
  ],
  "$responses": {
    "200": {
      "Type": {
        "new": "object",
        "old": "string"
      }
    },
    "default": {
      "$properties": {
        "error": [
          {
            "#name": "code",
            "Enum": {
              "new": [
                [
                  "InvalidRequest",
                  "Invalid request error"
                ],
                [
                  "InvalidArgument",
                  "Invalid argument error"
                ],
                [
                  "Unauthorized",
                  "Unauthorized access error"
                ],
                [
                  "Forbidden",
                  "Forbidden access error"
                ],
                [
                  "NotFound",
                  "Not found error"
                ],
                [
                  "ProjectNotFound",
                  "Project not found error"
                ],
                [
                  "OperationNotFound",
                  "Operation not found error"
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  "Azure Cognitive Search not found error"
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  "Azure Cognitive Search index not found error"
                ],
                [
                  "TooManyRequests",
                  "Too many requests error"
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  "Azure Cognitive Search throttling error"
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  "Azure Cognitive Search index limit reached error"
                ],
                [
                  "InternalServerError",
                  "Internal server error"
                ],
                [
                  "ServiceUnavailable",
                  "Service unavailable error"
                ],
                [
                  "Timeout",
                  "Timeout error"
                ],
                [
                  "QuotaExceeded",
                  "Quota exceeded error"
                ],
                [
                  "Conflict",
                  "Conflict error"
                ],
                [
                  "Warning",
                  "Warning error"
                ]
              ],
              "old": [
                [
                  "InvalidRequest",
                  ""
                ],
                [
                  "InvalidArgument",
                  ""
                ],
                [
                  "Unauthorized",
                  ""
                ],
                [
                  "Forbidden",
                  ""
                ],
                [
                  "NotFound",
                  ""
                ],
                [
                  "ProjectNotFound",
                  ""
                ],
                [
                  "OperationNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  ""
                ],
                [
                  "TooManyRequests",
                  ""
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  ""
                ],
                [
                  "InternalServerError",
                  ""
                ],
                [
                  "ServiceUnavailable",
                  ""
                ],
                [
                  "Timeout",
                  ""
                ],
                [
                  "QuotaExceeded",
                  ""
                ],
                [
                  "Conflict",
                  ""
                ],
                [
                  "Warning",
                  ""
                ]
              ]
            }
          },
          {
            "#name": "innererror",
            "Description": {
              "new": "An object containing more specific information than the current object about\nthe error.",
              "old": "An object containing more specific information than the current object about the error."
            },
            "$properties": [
              {
                "#name": "code",
                "Enum": {
                  "new": [
                    [
                      "InvalidRequest",
                      "Invalid request error"
                    ],
                    [
                      "InvalidParameterValue",
                      "Invalid parameter value error"
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      "Knowledge base not found error"
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      "Azure Cognitive Search not found error"
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      "Azure Cognitive Search throttling error"
                    ],
                    [
                      "ExtractionFailure",
                      "Extraction failure error"
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      "Invalid request body format error"
                    ],
                    [
                      "EmptyRequest",
                      "Empty request error"
                    ],
                    [
                      "MissingInputDocuments",
                      "Missing input documents error"
                    ],
                    [
                      "InvalidDocument",
                      "Invalid document error"
                    ],
                    [
                      "ModelVersionIncorrect",
                      "Model version incorrect error"
                    ],
                    [
                      "InvalidDocumentBatch",
                      "Invalid document batch error"
                    ],
                    [
                      "UnsupportedLanguageCode",
                      "Unsupported language code error"
                    ],
                    [
                      "InvalidCountryHint",
                      "Invalid country hint error"
                    ]
                  ],
                  "old": [
                    [
                      "InvalidRequest",
                      ""
                    ],
                    [
                      "InvalidParameterValue",
                      ""
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      ""
                    ],
                    [
                      "ExtractionFailure",
                      ""
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      ""
                    ],
                    [
                      "EmptyRequest",
                      ""
                    ],
                    [
                      "MissingInputDocuments",
                      ""
                    ],
                    [
                      "InvalidDocument",
                      ""
                    ],
                    [
                      "ModelVersionIncorrect",
                      ""
                    ],
                    [
                      "InvalidDocumentBatch",
                      ""
                    ],
                    [
                      "UnsupportedLanguageCode",
                      ""
                    ],
                    [
                      "InvalidCountryHint",
                      ""
                    ]
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /authoring/query-knowledgebases/projects/{projectName}/deployments/{deploymentName}/jobs/{jobId}
{
api-version: string ,
projectName: string ,
deploymentName: string ,
jobId: string ,
}

⚐ Response (200)

{
createdDateTime: string ,
expirationDateTime: string ,
jobId: string ,
lastUpdatedDateTime: string ,
status: enum ,
errors:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
,
}
QuestionAnsweringProjects_GetExportStatus (updated)
Description Gets the status of an Export job, once job completes, returns the project metadata, and assets.
Reference Link ¶

⚶ Changes

{
  "#id": "QuestionAnsweringProjects_GetExportStatus",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "Client API version."
      }
    },
    {
      "#name": "projectName",
      "Description": {
        "new": "Name of the project.",
        "old": "The name of the project to use."
      }
    },
    {
      "#name": "jobId",
      "Description": {
        "new": "The job ID.",
        "old": "Job ID."
      }
    }
  ],
  "$responses": {
    "200": {
      "Type": {
        "new": "object",
        "old": "string"
      }
    },
    "default": {
      "$properties": {
        "error": [
          {
            "#name": "code",
            "Enum": {
              "new": [
                [
                  "InvalidRequest",
                  "Invalid request error"
                ],
                [
                  "InvalidArgument",
                  "Invalid argument error"
                ],
                [
                  "Unauthorized",
                  "Unauthorized access error"
                ],
                [
                  "Forbidden",
                  "Forbidden access error"
                ],
                [
                  "NotFound",
                  "Not found error"
                ],
                [
                  "ProjectNotFound",
                  "Project not found error"
                ],
                [
                  "OperationNotFound",
                  "Operation not found error"
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  "Azure Cognitive Search not found error"
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  "Azure Cognitive Search index not found error"
                ],
                [
                  "TooManyRequests",
                  "Too many requests error"
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  "Azure Cognitive Search throttling error"
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  "Azure Cognitive Search index limit reached error"
                ],
                [
                  "InternalServerError",
                  "Internal server error"
                ],
                [
                  "ServiceUnavailable",
                  "Service unavailable error"
                ],
                [
                  "Timeout",
                  "Timeout error"
                ],
                [
                  "QuotaExceeded",
                  "Quota exceeded error"
                ],
                [
                  "Conflict",
                  "Conflict error"
                ],
                [
                  "Warning",
                  "Warning error"
                ]
              ],
              "old": [
                [
                  "InvalidRequest",
                  ""
                ],
                [
                  "InvalidArgument",
                  ""
                ],
                [
                  "Unauthorized",
                  ""
                ],
                [
                  "Forbidden",
                  ""
                ],
                [
                  "NotFound",
                  ""
                ],
                [
                  "ProjectNotFound",
                  ""
                ],
                [
                  "OperationNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  ""
                ],
                [
                  "TooManyRequests",
                  ""
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  ""
                ],
                [
                  "InternalServerError",
                  ""
                ],
                [
                  "ServiceUnavailable",
                  ""
                ],
                [
                  "Timeout",
                  ""
                ],
                [
                  "QuotaExceeded",
                  ""
                ],
                [
                  "Conflict",
                  ""
                ],
                [
                  "Warning",
                  ""
                ]
              ]
            }
          },
          {
            "#name": "innererror",
            "Description": {
              "new": "An object containing more specific information than the current object about\nthe error.",
              "old": "An object containing more specific information than the current object about the error."
            },
            "$properties": [
              {
                "#name": "code",
                "Enum": {
                  "new": [
                    [
                      "InvalidRequest",
                      "Invalid request error"
                    ],
                    [
                      "InvalidParameterValue",
                      "Invalid parameter value error"
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      "Knowledge base not found error"
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      "Azure Cognitive Search not found error"
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      "Azure Cognitive Search throttling error"
                    ],
                    [
                      "ExtractionFailure",
                      "Extraction failure error"
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      "Invalid request body format error"
                    ],
                    [
                      "EmptyRequest",
                      "Empty request error"
                    ],
                    [
                      "MissingInputDocuments",
                      "Missing input documents error"
                    ],
                    [
                      "InvalidDocument",
                      "Invalid document error"
                    ],
                    [
                      "ModelVersionIncorrect",
                      "Model version incorrect error"
                    ],
                    [
                      "InvalidDocumentBatch",
                      "Invalid document batch error"
                    ],
                    [
                      "UnsupportedLanguageCode",
                      "Unsupported language code error"
                    ],
                    [
                      "InvalidCountryHint",
                      "Invalid country hint error"
                    ]
                  ],
                  "old": [
                    [
                      "InvalidRequest",
                      ""
                    ],
                    [
                      "InvalidParameterValue",
                      ""
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      ""
                    ],
                    [
                      "ExtractionFailure",
                      ""
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      ""
                    ],
                    [
                      "EmptyRequest",
                      ""
                    ],
                    [
                      "MissingInputDocuments",
                      ""
                    ],
                    [
                      "InvalidDocument",
                      ""
                    ],
                    [
                      "ModelVersionIncorrect",
                      ""
                    ],
                    [
                      "InvalidDocumentBatch",
                      ""
                    ],
                    [
                      "UnsupportedLanguageCode",
                      ""
                    ],
                    [
                      "InvalidCountryHint",
                      ""
                    ]
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /authoring/query-knowledgebases/projects/{projectName}/export/jobs/{jobId}
{
api-version: string ,
projectName: string ,
jobId: string ,
}

⚐ Response (200)

{
createdDateTime: string ,
expirationDateTime: string ,
jobId: string ,
lastUpdatedDateTime: string ,
status: enum ,
errors:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
resultUrl: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
,
}
QuestionAnsweringProjects_AddFeedback (updated)
Description Update Active Learning feedback.
Reference Link ¶

⚶ Changes

{
  "#id": "QuestionAnsweringProjects_AddFeedback",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "Client API version."
      }
    }
  ],
  "$responses": {
    "default": {
      "$properties": {
        "error": [
          {
            "#name": "code",
            "Enum": {
              "new": [
                [
                  "InvalidRequest",
                  "Invalid request error"
                ],
                [
                  "InvalidArgument",
                  "Invalid argument error"
                ],
                [
                  "Unauthorized",
                  "Unauthorized access error"
                ],
                [
                  "Forbidden",
                  "Forbidden access error"
                ],
                [
                  "NotFound",
                  "Not found error"
                ],
                [
                  "ProjectNotFound",
                  "Project not found error"
                ],
                [
                  "OperationNotFound",
                  "Operation not found error"
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  "Azure Cognitive Search not found error"
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  "Azure Cognitive Search index not found error"
                ],
                [
                  "TooManyRequests",
                  "Too many requests error"
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  "Azure Cognitive Search throttling error"
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  "Azure Cognitive Search index limit reached error"
                ],
                [
                  "InternalServerError",
                  "Internal server error"
                ],
                [
                  "ServiceUnavailable",
                  "Service unavailable error"
                ],
                [
                  "Timeout",
                  "Timeout error"
                ],
                [
                  "QuotaExceeded",
                  "Quota exceeded error"
                ],
                [
                  "Conflict",
                  "Conflict error"
                ],
                [
                  "Warning",
                  "Warning error"
                ]
              ],
              "old": [
                [
                  "InvalidRequest",
                  ""
                ],
                [
                  "InvalidArgument",
                  ""
                ],
                [
                  "Unauthorized",
                  ""
                ],
                [
                  "Forbidden",
                  ""
                ],
                [
                  "NotFound",
                  ""
                ],
                [
                  "ProjectNotFound",
                  ""
                ],
                [
                  "OperationNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  ""
                ],
                [
                  "TooManyRequests",
                  ""
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  ""
                ],
                [
                  "InternalServerError",
                  ""
                ],
                [
                  "ServiceUnavailable",
                  ""
                ],
                [
                  "Timeout",
                  ""
                ],
                [
                  "QuotaExceeded",
                  ""
                ],
                [
                  "Conflict",
                  ""
                ],
                [
                  "Warning",
                  ""
                ]
              ]
            }
          },
          {
            "#name": "innererror",
            "Description": {
              "new": "An object containing more specific information than the current object about\nthe error.",
              "old": "An object containing more specific information than the current object about the error."
            },
            "$properties": [
              {
                "#name": "code",
                "Enum": {
                  "new": [
                    [
                      "InvalidRequest",
                      "Invalid request error"
                    ],
                    [
                      "InvalidParameterValue",
                      "Invalid parameter value error"
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      "Knowledge base not found error"
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      "Azure Cognitive Search not found error"
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      "Azure Cognitive Search throttling error"
                    ],
                    [
                      "ExtractionFailure",
                      "Extraction failure error"
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      "Invalid request body format error"
                    ],
                    [
                      "EmptyRequest",
                      "Empty request error"
                    ],
                    [
                      "MissingInputDocuments",
                      "Missing input documents error"
                    ],
                    [
                      "InvalidDocument",
                      "Invalid document error"
                    ],
                    [
                      "ModelVersionIncorrect",
                      "Model version incorrect error"
                    ],
                    [
                      "InvalidDocumentBatch",
                      "Invalid document batch error"
                    ],
                    [
                      "UnsupportedLanguageCode",
                      "Unsupported language code error"
                    ],
                    [
                      "InvalidCountryHint",
                      "Invalid country hint error"
                    ]
                  ],
                  "old": [
                    [
                      "InvalidRequest",
                      ""
                    ],
                    [
                      "InvalidParameterValue",
                      ""
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      ""
                    ],
                    [
                      "ExtractionFailure",
                      ""
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      ""
                    ],
                    [
                      "EmptyRequest",
                      ""
                    ],
                    [
                      "MissingInputDocuments",
                      ""
                    ],
                    [
                      "InvalidDocument",
                      ""
                    ],
                    [
                      "ModelVersionIncorrect",
                      ""
                    ],
                    [
                      "InvalidDocumentBatch",
                      ""
                    ],
                    [
                      "UnsupportedLanguageCode",
                      ""
                    ],
                    [
                      "InvalidCountryHint",
                      ""
                    ]
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

POST:  /authoring/query-knowledgebases/projects/{projectName}/feedback
{
api-version: string ,
projectName: string ,
body:
{
records:
[
{
userId: string ,
userQuestion: string ,
qnaId: integer ,
}
,
]
,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
,
}
QuestionAnsweringProjects_GetImportStatus (updated)
Description Gets the status of an Import job.
Reference Link ¶

⚶ Changes

{
  "#id": "QuestionAnsweringProjects_GetImportStatus",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "Client API version."
      }
    },
    {
      "#name": "projectName",
      "Description": {
        "new": "Name of the project.",
        "old": "The name of the project to use."
      }
    },
    {
      "#name": "jobId",
      "Description": {
        "new": "The job ID.",
        "old": "Job ID."
      }
    }
  ],
  "$responses": {
    "200": {
      "Description": {
        "new": "Import job status, project metadata, and assets.",
        "old": "Job state represents the job metadata and any errors."
      },
      "Type": {
        "new": "object",
        "old": "string"
      }
    },
    "default": {
      "$properties": {
        "error": [
          {
            "#name": "code",
            "Enum": {
              "new": [
                [
                  "InvalidRequest",
                  "Invalid request error"
                ],
                [
                  "InvalidArgument",
                  "Invalid argument error"
                ],
                [
                  "Unauthorized",
                  "Unauthorized access error"
                ],
                [
                  "Forbidden",
                  "Forbidden access error"
                ],
                [
                  "NotFound",
                  "Not found error"
                ],
                [
                  "ProjectNotFound",
                  "Project not found error"
                ],
                [
                  "OperationNotFound",
                  "Operation not found error"
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  "Azure Cognitive Search not found error"
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  "Azure Cognitive Search index not found error"
                ],
                [
                  "TooManyRequests",
                  "Too many requests error"
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  "Azure Cognitive Search throttling error"
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  "Azure Cognitive Search index limit reached error"
                ],
                [
                  "InternalServerError",
                  "Internal server error"
                ],
                [
                  "ServiceUnavailable",
                  "Service unavailable error"
                ],
                [
                  "Timeout",
                  "Timeout error"
                ],
                [
                  "QuotaExceeded",
                  "Quota exceeded error"
                ],
                [
                  "Conflict",
                  "Conflict error"
                ],
                [
                  "Warning",
                  "Warning error"
                ]
              ],
              "old": [
                [
                  "InvalidRequest",
                  ""
                ],
                [
                  "InvalidArgument",
                  ""
                ],
                [
                  "Unauthorized",
                  ""
                ],
                [
                  "Forbidden",
                  ""
                ],
                [
                  "NotFound",
                  ""
                ],
                [
                  "ProjectNotFound",
                  ""
                ],
                [
                  "OperationNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  ""
                ],
                [
                  "TooManyRequests",
                  ""
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  ""
                ],
                [
                  "InternalServerError",
                  ""
                ],
                [
                  "ServiceUnavailable",
                  ""
                ],
                [
                  "Timeout",
                  ""
                ],
                [
                  "QuotaExceeded",
                  ""
                ],
                [
                  "Conflict",
                  ""
                ],
                [
                  "Warning",
                  ""
                ]
              ]
            }
          },
          {
            "#name": "innererror",
            "Description": {
              "new": "An object containing more specific information than the current object about\nthe error.",
              "old": "An object containing more specific information than the current object about the error."
            },
            "$properties": [
              {
                "#name": "code",
                "Enum": {
                  "new": [
                    [
                      "InvalidRequest",
                      "Invalid request error"
                    ],
                    [
                      "InvalidParameterValue",
                      "Invalid parameter value error"
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      "Knowledge base not found error"
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      "Azure Cognitive Search not found error"
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      "Azure Cognitive Search throttling error"
                    ],
                    [
                      "ExtractionFailure",
                      "Extraction failure error"
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      "Invalid request body format error"
                    ],
                    [
                      "EmptyRequest",
                      "Empty request error"
                    ],
                    [
                      "MissingInputDocuments",
                      "Missing input documents error"
                    ],
                    [
                      "InvalidDocument",
                      "Invalid document error"
                    ],
                    [
                      "ModelVersionIncorrect",
                      "Model version incorrect error"
                    ],
                    [
                      "InvalidDocumentBatch",
                      "Invalid document batch error"
                    ],
                    [
                      "UnsupportedLanguageCode",
                      "Unsupported language code error"
                    ],
                    [
                      "InvalidCountryHint",
                      "Invalid country hint error"
                    ]
                  ],
                  "old": [
                    [
                      "InvalidRequest",
                      ""
                    ],
                    [
                      "InvalidParameterValue",
                      ""
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      ""
                    ],
                    [
                      "ExtractionFailure",
                      ""
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      ""
                    ],
                    [
                      "EmptyRequest",
                      ""
                    ],
                    [
                      "MissingInputDocuments",
                      ""
                    ],
                    [
                      "InvalidDocument",
                      ""
                    ],
                    [
                      "ModelVersionIncorrect",
                      ""
                    ],
                    [
                      "InvalidDocumentBatch",
                      ""
                    ],
                    [
                      "UnsupportedLanguageCode",
                      ""
                    ],
                    [
                      "InvalidCountryHint",
                      ""
                    ]
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /authoring/query-knowledgebases/projects/{projectName}/import/jobs/{jobId}
{
api-version: string ,
projectName: string ,
jobId: string ,
}

⚐ Response (200)

{
createdDateTime: string ,
expirationDateTime: string ,
jobId: string ,
lastUpdatedDateTime: string ,
status: enum ,
errors:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
,
}
QuestionAnsweringProjects_GetQnas (updated)
Description Gets all the QnAs of a project.
Reference Link ¶

⚶ Changes

{
  "#id": "QuestionAnsweringProjects_GetQnas",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "Client API version."
      }
    },
    {
      "#name": "projectName",
      "Description": {
        "new": "Name of the project.",
        "old": "The name of the project to use."
      }
    }
  ],
  "$responses": {
    "200": {
      "Description": {
        "new": "Paged collection of RetrieveQnaRecord items",
        "old": "All QnA assets for the project."
      },
      "$properties": [
        {
          "#name": "value",
          "Description": {
            "new": "The RetrieveQnaRecord items on this page",
            "old": "List of QnA records."
          },
          "Required": {
            "new": true,
            "old": false
          },
          "$items": {
            "Type": {
              "new": "object",
              "old": "string"
            }
          }
        }
      ]
    },
    "default": {
      "$properties": {
        "error": [
          {
            "#name": "code",
            "Enum": {
              "new": [
                [
                  "InvalidRequest",
                  "Invalid request error"
                ],
                [
                  "InvalidArgument",
                  "Invalid argument error"
                ],
                [
                  "Unauthorized",
                  "Unauthorized access error"
                ],
                [
                  "Forbidden",
                  "Forbidden access error"
                ],
                [
                  "NotFound",
                  "Not found error"
                ],
                [
                  "ProjectNotFound",
                  "Project not found error"
                ],
                [
                  "OperationNotFound",
                  "Operation not found error"
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  "Azure Cognitive Search not found error"
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  "Azure Cognitive Search index not found error"
                ],
                [
                  "TooManyRequests",
                  "Too many requests error"
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  "Azure Cognitive Search throttling error"
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  "Azure Cognitive Search index limit reached error"
                ],
                [
                  "InternalServerError",
                  "Internal server error"
                ],
                [
                  "ServiceUnavailable",
                  "Service unavailable error"
                ],
                [
                  "Timeout",
                  "Timeout error"
                ],
                [
                  "QuotaExceeded",
                  "Quota exceeded error"
                ],
                [
                  "Conflict",
                  "Conflict error"
                ],
                [
                  "Warning",
                  "Warning error"
                ]
              ],
              "old": [
                [
                  "InvalidRequest",
                  ""
                ],
                [
                  "InvalidArgument",
                  ""
                ],
                [
                  "Unauthorized",
                  ""
                ],
                [
                  "Forbidden",
                  ""
                ],
                [
                  "NotFound",
                  ""
                ],
                [
                  "ProjectNotFound",
                  ""
                ],
                [
                  "OperationNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  ""
                ],
                [
                  "TooManyRequests",
                  ""
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  ""
                ],
                [
                  "InternalServerError",
                  ""
                ],
                [
                  "ServiceUnavailable",
                  ""
                ],
                [
                  "Timeout",
                  ""
                ],
                [
                  "QuotaExceeded",
                  ""
                ],
                [
                  "Conflict",
                  ""
                ],
                [
                  "Warning",
                  ""
                ]
              ]
            }
          },
          {
            "#name": "innererror",
            "Description": {
              "new": "An object containing more specific information than the current object about\nthe error.",
              "old": "An object containing more specific information than the current object about the error."
            },
            "$properties": [
              {
                "#name": "code",
                "Enum": {
                  "new": [
                    [
                      "InvalidRequest",
                      "Invalid request error"
                    ],
                    [
                      "InvalidParameterValue",
                      "Invalid parameter value error"
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      "Knowledge base not found error"
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      "Azure Cognitive Search not found error"
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      "Azure Cognitive Search throttling error"
                    ],
                    [
                      "ExtractionFailure",
                      "Extraction failure error"
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      "Invalid request body format error"
                    ],
                    [
                      "EmptyRequest",
                      "Empty request error"
                    ],
                    [
                      "MissingInputDocuments",
                      "Missing input documents error"
                    ],
                    [
                      "InvalidDocument",
                      "Invalid document error"
                    ],
                    [
                      "ModelVersionIncorrect",
                      "Model version incorrect error"
                    ],
                    [
                      "InvalidDocumentBatch",
                      "Invalid document batch error"
                    ],
                    [
                      "UnsupportedLanguageCode",
                      "Unsupported language code error"
                    ],
                    [
                      "InvalidCountryHint",
                      "Invalid country hint error"
                    ]
                  ],
                  "old": [
                    [
                      "InvalidRequest",
                      ""
                    ],
                    [
                      "InvalidParameterValue",
                      ""
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      ""
                    ],
                    [
                      "ExtractionFailure",
                      ""
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      ""
                    ],
                    [
                      "EmptyRequest",
                      ""
                    ],
                    [
                      "MissingInputDocuments",
                      ""
                    ],
                    [
                      "InvalidDocument",
                      ""
                    ],
                    [
                      "ModelVersionIncorrect",
                      ""
                    ],
                    [
                      "InvalidDocumentBatch",
                      ""
                    ],
                    [
                      "UnsupportedLanguageCode",
                      ""
                    ],
                    [
                      "InvalidCountryHint",
                      ""
                    ]
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /authoring/query-knowledgebases/projects/{projectName}/qnas
{
api-version: string ,
projectName: string ,
top: integer ,
skip: integer ,
maxpagesize: integer ,
source: string ,
}

⚐ Response (200)

{
value:
[
{
id: integer ,
answer: string ,
source: string ,
questions:
[
string ,
]
,
metadata: object ,
dialog:
{
isContextOnly: boolean ,
prompts:
[
{
displayOrder: integer ,
qnaId: integer ,
qna:
{
id: integer ,
answer: string ,
source: string ,
questions:
[
string ,
]
,
metadata: object ,
dialog: string ,
activeLearningSuggestions:
[
{
clusterHead: string ,
suggestedQuestions:
[
{
question: string ,
userSuggestedCount: integer ,
autoSuggestedCount: integer ,
}
,
]
,
}
,
]
,
}
,
displayText: string ,
}
,
]
,
}
,
activeLearningSuggestions:
[
{
clusterHead: string ,
suggestedQuestions:
[
{
question: string ,
userSuggestedCount: integer ,
autoSuggestedCount: integer ,
}
,
]
,
}
,
]
,
lastUpdatedDateTime: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
,
}
QuestionAnsweringProjects_UpdateQnas (updated)
Description Updates the QnAs of a project.
Reference Link ¶

⚶ Changes

{
  "#id": "QuestionAnsweringProjects_UpdateQnas",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "Client API version."
      }
    },
    {
      "body": {
        "$items": {
          "$properties": [
            {
              "#name": "op",
              "Enum": {
                "new": [
                  [
                    "add",
                    "Add operation."
                  ],
                  [
                    "delete",
                    "Delete operation."
                  ],
                  [
                    "replace",
                    "Replace operation."
                  ]
                ],
                "old": [
                  [
                    "add",
                    ""
                  ],
                  [
                    "delete",
                    ""
                  ],
                  [
                    "replace",
                    ""
                  ]
                ]
              }
            },
            {
              "value": [
                {
                  "#name": "id",
                  "Required": {
                    "new": true,
                    "old": false
                  }
                },
                {
                  "#name": "source",
                  "Description": {
                    "new": "Source from which QnA was indexed e.g.\nhttps://docs.microsoft.com/en-us/azure/cognitive-services/QnAMaker/FAQs .",
                    "old": "Source from which QnA was indexed e.g. https://docs.microsoft.com/en-us/azure/cognitive-services/QnAMaker/FAQs ."
                  }
                },
                {
                  "#name": "metadata",
                  "Description": {
                    "new": "Metadata associated with the answer, useful to categorize or filter question\nanswers.",
                    "old": "Metadata associated with the answer, useful to categorize or filter question answers."
                  }
                },
                {
                  "#name": "dialog",
                  "Type": {
                    "new": "string",
                    "old": "object"
                  }
                },
                {
                  "activeLearningSuggestions": {
                    "$properties": [
                      {
                        "#name": "clusterHead",
                        "Description": {
                          "new": "Question chosen as the head of suggested questions cluster by Active Learning\nclustering algorithm.",
                          "old": "Question chosen as the head of suggested questions cluster by Active Learning clustering algorithm."
                        }
                      },
                      {
                        "suggestedQuestions": {
                          "$properties": [
                            {
                              "#name": "autoSuggestedCount",
                              "Description": {
                                "new": "The number of times the question was suggested automatically by the Active\nLearning algorithm.",
                                "old": "The number of times the question was suggested automatically by the Active Learning algorithm."
                              }
                            }
                          ]
                        }
                      }
                    ]
                  }
                }
              ]
            }
          ]
        }
      }
    }
  ],
  "$responses": {
    "default": {
      "$properties": {
        "error": [
          {
            "#name": "code",
            "Enum": {
              "new": [
                [
                  "InvalidRequest",
                  "Invalid request error"
                ],
                [
                  "InvalidArgument",
                  "Invalid argument error"
                ],
                [
                  "Unauthorized",
                  "Unauthorized access error"
                ],
                [
                  "Forbidden",
                  "Forbidden access error"
                ],
                [
                  "NotFound",
                  "Not found error"
                ],
                [
                  "ProjectNotFound",
                  "Project not found error"
                ],
                [
                  "OperationNotFound",
                  "Operation not found error"
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  "Azure Cognitive Search not found error"
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  "Azure Cognitive Search index not found error"
                ],
                [
                  "TooManyRequests",
                  "Too many requests error"
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  "Azure Cognitive Search throttling error"
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  "Azure Cognitive Search index limit reached error"
                ],
                [
                  "InternalServerError",
                  "Internal server error"
                ],
                [
                  "ServiceUnavailable",
                  "Service unavailable error"
                ],
                [
                  "Timeout",
                  "Timeout error"
                ],
                [
                  "QuotaExceeded",
                  "Quota exceeded error"
                ],
                [
                  "Conflict",
                  "Conflict error"
                ],
                [
                  "Warning",
                  "Warning error"
                ]
              ],
              "old": [
                [
                  "InvalidRequest",
                  ""
                ],
                [
                  "InvalidArgument",
                  ""
                ],
                [
                  "Unauthorized",
                  ""
                ],
                [
                  "Forbidden",
                  ""
                ],
                [
                  "NotFound",
                  ""
                ],
                [
                  "ProjectNotFound",
                  ""
                ],
                [
                  "OperationNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  ""
                ],
                [
                  "TooManyRequests",
                  ""
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  ""
                ],
                [
                  "InternalServerError",
                  ""
                ],
                [
                  "ServiceUnavailable",
                  ""
                ],
                [
                  "Timeout",
                  ""
                ],
                [
                  "QuotaExceeded",
                  ""
                ],
                [
                  "Conflict",
                  ""
                ],
                [
                  "Warning",
                  ""
                ]
              ]
            }
          },
          {
            "#name": "innererror",
            "Description": {
              "new": "An object containing more specific information than the current object about\nthe error.",
              "old": "An object containing more specific information than the current object about the error."
            },
            "$properties": [
              {
                "#name": "code",
                "Enum": {
                  "new": [
                    [
                      "InvalidRequest",
                      "Invalid request error"
                    ],
                    [
                      "InvalidParameterValue",
                      "Invalid parameter value error"
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      "Knowledge base not found error"
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      "Azure Cognitive Search not found error"
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      "Azure Cognitive Search throttling error"
                    ],
                    [
                      "ExtractionFailure",
                      "Extraction failure error"
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      "Invalid request body format error"
                    ],
                    [
                      "EmptyRequest",
                      "Empty request error"
                    ],
                    [
                      "MissingInputDocuments",
                      "Missing input documents error"
                    ],
                    [
                      "InvalidDocument",
                      "Invalid document error"
                    ],
                    [
                      "ModelVersionIncorrect",
                      "Model version incorrect error"
                    ],
                    [
                      "InvalidDocumentBatch",
                      "Invalid document batch error"
                    ],
                    [
                      "UnsupportedLanguageCode",
                      "Unsupported language code error"
                    ],
                    [
                      "InvalidCountryHint",
                      "Invalid country hint error"
                    ]
                  ],
                  "old": [
                    [
                      "InvalidRequest",
                      ""
                    ],
                    [
                      "InvalidParameterValue",
                      ""
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      ""
                    ],
                    [
                      "ExtractionFailure",
                      ""
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      ""
                    ],
                    [
                      "EmptyRequest",
                      ""
                    ],
                    [
                      "MissingInputDocuments",
                      ""
                    ],
                    [
                      "InvalidDocument",
                      ""
                    ],
                    [
                      "ModelVersionIncorrect",
                      ""
                    ],
                    [
                      "InvalidDocumentBatch",
                      ""
                    ],
                    [
                      "UnsupportedLanguageCode",
                      ""
                    ],
                    [
                      "InvalidCountryHint",
                      ""
                    ]
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /authoring/query-knowledgebases/projects/{projectName}/qnas
{
api-version: string ,
projectName: string ,
body:
{
op: enum ,
value:
{
id: integer ,
answer: string ,
source: string ,
questions:
[
string ,
]
,
metadata: object ,
dialog: string ,
activeLearningSuggestions:
[
{
clusterHead: string ,
suggestedQuestions:
[
{
question: string ,
userSuggestedCount: integer ,
autoSuggestedCount: integer ,
}
,
]
,
}
,
]
,
}
,
}
,
}

⚐ Response (202)

{
operation-location: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
,
}
QuestionAnsweringProjects_GetUpdateQnasStatus (updated)
Description Gets the status of update QnAs job.
Reference Link ¶

⚶ Changes

{
  "#id": "QuestionAnsweringProjects_GetUpdateQnasStatus",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "Client API version."
      }
    },
    {
      "#name": "projectName",
      "Description": {
        "new": "Name of the project.",
        "old": "The name of the project to use."
      }
    },
    {
      "#name": "jobId",
      "Description": {
        "new": "The job ID.",
        "old": "Job ID."
      }
    }
  ],
  "$responses": {
    "200": {
      "Type": {
        "new": "object",
        "old": "string"
      }
    },
    "default": {
      "$properties": {
        "error": [
          {
            "#name": "code",
            "Enum": {
              "new": [
                [
                  "InvalidRequest",
                  "Invalid request error"
                ],
                [
                  "InvalidArgument",
                  "Invalid argument error"
                ],
                [
                  "Unauthorized",
                  "Unauthorized access error"
                ],
                [
                  "Forbidden",
                  "Forbidden access error"
                ],
                [
                  "NotFound",
                  "Not found error"
                ],
                [
                  "ProjectNotFound",
                  "Project not found error"
                ],
                [
                  "OperationNotFound",
                  "Operation not found error"
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  "Azure Cognitive Search not found error"
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  "Azure Cognitive Search index not found error"
                ],
                [
                  "TooManyRequests",
                  "Too many requests error"
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  "Azure Cognitive Search throttling error"
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  "Azure Cognitive Search index limit reached error"
                ],
                [
                  "InternalServerError",
                  "Internal server error"
                ],
                [
                  "ServiceUnavailable",
                  "Service unavailable error"
                ],
                [
                  "Timeout",
                  "Timeout error"
                ],
                [
                  "QuotaExceeded",
                  "Quota exceeded error"
                ],
                [
                  "Conflict",
                  "Conflict error"
                ],
                [
                  "Warning",
                  "Warning error"
                ]
              ],
              "old": [
                [
                  "InvalidRequest",
                  ""
                ],
                [
                  "InvalidArgument",
                  ""
                ],
                [
                  "Unauthorized",
                  ""
                ],
                [
                  "Forbidden",
                  ""
                ],
                [
                  "NotFound",
                  ""
                ],
                [
                  "ProjectNotFound",
                  ""
                ],
                [
                  "OperationNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  ""
                ],
                [
                  "TooManyRequests",
                  ""
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  ""
                ],
                [
                  "InternalServerError",
                  ""
                ],
                [
                  "ServiceUnavailable",
                  ""
                ],
                [
                  "Timeout",
                  ""
                ],
                [
                  "QuotaExceeded",
                  ""
                ],
                [
                  "Conflict",
                  ""
                ],
                [
                  "Warning",
                  ""
                ]
              ]
            }
          },
          {
            "#name": "innererror",
            "Description": {
              "new": "An object containing more specific information than the current object about\nthe error.",
              "old": "An object containing more specific information than the current object about the error."
            },
            "$properties": [
              {
                "#name": "code",
                "Enum": {
                  "new": [
                    [
                      "InvalidRequest",
                      "Invalid request error"
                    ],
                    [
                      "InvalidParameterValue",
                      "Invalid parameter value error"
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      "Knowledge base not found error"
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      "Azure Cognitive Search not found error"
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      "Azure Cognitive Search throttling error"
                    ],
                    [
                      "ExtractionFailure",
                      "Extraction failure error"
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      "Invalid request body format error"
                    ],
                    [
                      "EmptyRequest",
                      "Empty request error"
                    ],
                    [
                      "MissingInputDocuments",
                      "Missing input documents error"
                    ],
                    [
                      "InvalidDocument",
                      "Invalid document error"
                    ],
                    [
                      "ModelVersionIncorrect",
                      "Model version incorrect error"
                    ],
                    [
                      "InvalidDocumentBatch",
                      "Invalid document batch error"
                    ],
                    [
                      "UnsupportedLanguageCode",
                      "Unsupported language code error"
                    ],
                    [
                      "InvalidCountryHint",
                      "Invalid country hint error"
                    ]
                  ],
                  "old": [
                    [
                      "InvalidRequest",
                      ""
                    ],
                    [
                      "InvalidParameterValue",
                      ""
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      ""
                    ],
                    [
                      "ExtractionFailure",
                      ""
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      ""
                    ],
                    [
                      "EmptyRequest",
                      ""
                    ],
                    [
                      "MissingInputDocuments",
                      ""
                    ],
                    [
                      "InvalidDocument",
                      ""
                    ],
                    [
                      "ModelVersionIncorrect",
                      ""
                    ],
                    [
                      "InvalidDocumentBatch",
                      ""
                    ],
                    [
                      "UnsupportedLanguageCode",
                      ""
                    ],
                    [
                      "InvalidCountryHint",
                      ""
                    ]
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /authoring/query-knowledgebases/projects/{projectName}/qnas/jobs/{jobId}
{
api-version: string ,
projectName: string ,
jobId: string ,
}

⚐ Response (200)

{
createdDateTime: string ,
expirationDateTime: string ,
jobId: string ,
lastUpdatedDateTime: string ,
status: enum ,
errors:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
,
}
QuestionAnsweringProjects_GetSources (updated)
Description Gets all the sources of a project.
Reference Link ¶

⚶ Changes

{
  "#id": "QuestionAnsweringProjects_GetSources",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "Client API version."
      }
    },
    {
      "#name": "projectName",
      "Description": {
        "new": "Name of the project.",
        "old": "The name of the project to use."
      }
    }
  ],
  "$responses": {
    "200": {
      "Description": {
        "new": "Paged collection of QnaSourceRecord items",
        "old": "All QnA sources for the project."
      },
      "$properties": [
        {
          "#name": "value",
          "Description": {
            "new": "The QnaSourceRecord items on this page",
            "old": "Custom sources from which QnAs were extracted or explicitly added to the project."
          },
          "Required": {
            "new": true,
            "old": false
          },
          "$items": {
            "Type": {
              "new": "object",
              "old": "string"
            }
          }
        }
      ]
    },
    "default": {
      "$properties": {
        "error": [
          {
            "#name": "code",
            "Enum": {
              "new": [
                [
                  "InvalidRequest",
                  "Invalid request error"
                ],
                [
                  "InvalidArgument",
                  "Invalid argument error"
                ],
                [
                  "Unauthorized",
                  "Unauthorized access error"
                ],
                [
                  "Forbidden",
                  "Forbidden access error"
                ],
                [
                  "NotFound",
                  "Not found error"
                ],
                [
                  "ProjectNotFound",
                  "Project not found error"
                ],
                [
                  "OperationNotFound",
                  "Operation not found error"
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  "Azure Cognitive Search not found error"
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  "Azure Cognitive Search index not found error"
                ],
                [
                  "TooManyRequests",
                  "Too many requests error"
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  "Azure Cognitive Search throttling error"
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  "Azure Cognitive Search index limit reached error"
                ],
                [
                  "InternalServerError",
                  "Internal server error"
                ],
                [
                  "ServiceUnavailable",
                  "Service unavailable error"
                ],
                [
                  "Timeout",
                  "Timeout error"
                ],
                [
                  "QuotaExceeded",
                  "Quota exceeded error"
                ],
                [
                  "Conflict",
                  "Conflict error"
                ],
                [
                  "Warning",
                  "Warning error"
                ]
              ],
              "old": [
                [
                  "InvalidRequest",
                  ""
                ],
                [
                  "InvalidArgument",
                  ""
                ],
                [
                  "Unauthorized",
                  ""
                ],
                [
                  "Forbidden",
                  ""
                ],
                [
                  "NotFound",
                  ""
                ],
                [
                  "ProjectNotFound",
                  ""
                ],
                [
                  "OperationNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  ""
                ],
                [
                  "TooManyRequests",
                  ""
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  ""
                ],
                [
                  "InternalServerError",
                  ""
                ],
                [
                  "ServiceUnavailable",
                  ""
                ],
                [
                  "Timeout",
                  ""
                ],
                [
                  "QuotaExceeded",
                  ""
                ],
                [
                  "Conflict",
                  ""
                ],
                [
                  "Warning",
                  ""
                ]
              ]
            }
          },
          {
            "#name": "innererror",
            "Description": {
              "new": "An object containing more specific information than the current object about\nthe error.",
              "old": "An object containing more specific information than the current object about the error."
            },
            "$properties": [
              {
                "#name": "code",
                "Enum": {
                  "new": [
                    [
                      "InvalidRequest",
                      "Invalid request error"
                    ],
                    [
                      "InvalidParameterValue",
                      "Invalid parameter value error"
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      "Knowledge base not found error"
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      "Azure Cognitive Search not found error"
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      "Azure Cognitive Search throttling error"
                    ],
                    [
                      "ExtractionFailure",
                      "Extraction failure error"
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      "Invalid request body format error"
                    ],
                    [
                      "EmptyRequest",
                      "Empty request error"
                    ],
                    [
                      "MissingInputDocuments",
                      "Missing input documents error"
                    ],
                    [
                      "InvalidDocument",
                      "Invalid document error"
                    ],
                    [
                      "ModelVersionIncorrect",
                      "Model version incorrect error"
                    ],
                    [
                      "InvalidDocumentBatch",
                      "Invalid document batch error"
                    ],
                    [
                      "UnsupportedLanguageCode",
                      "Unsupported language code error"
                    ],
                    [
                      "InvalidCountryHint",
                      "Invalid country hint error"
                    ]
                  ],
                  "old": [
                    [
                      "InvalidRequest",
                      ""
                    ],
                    [
                      "InvalidParameterValue",
                      ""
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      ""
                    ],
                    [
                      "ExtractionFailure",
                      ""
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      ""
                    ],
                    [
                      "EmptyRequest",
                      ""
                    ],
                    [
                      "MissingInputDocuments",
                      ""
                    ],
                    [
                      "InvalidDocument",
                      ""
                    ],
                    [
                      "ModelVersionIncorrect",
                      ""
                    ],
                    [
                      "InvalidDocumentBatch",
                      ""
                    ],
                    [
                      "UnsupportedLanguageCode",
                      ""
                    ],
                    [
                      "InvalidCountryHint",
                      ""
                    ]
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /authoring/query-knowledgebases/projects/{projectName}/sources
{
api-version: string ,
projectName: string ,
top: integer ,
skip: integer ,
maxpagesize: integer ,
}

⚐ Response (200)

{
value:
[
{
displayName: string ,
source: string ,
sourceUri: string ,
sourceKind: enum ,
contentStructureKind: enum ,
lastUpdatedDateTime: string ,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
,
}
QuestionAnsweringProjects_UpdateSources (updated)
Description Updates the sources of a project.
Reference Link ¶

⚶ Changes

{
  "#id": "QuestionAnsweringProjects_UpdateSources",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "Client API version."
      }
    },
    {
      "body": {
        "$items": {
          "$properties": [
            {
              "#name": "op",
              "Enum": {
                "new": [
                  [
                    "add",
                    "Add operation."
                  ],
                  [
                    "delete",
                    "Delete operation."
                  ],
                  [
                    "replace",
                    "Replace operation."
                  ]
                ],
                "old": [
                  [
                    "add",
                    ""
                  ],
                  [
                    "delete",
                    ""
                  ],
                  [
                    "replace",
                    ""
                  ]
                ]
              }
            },
            {
              "#name": "value",
              "Type": {
                "new": "object",
                "old": "string"
              }
            }
          ]
        }
      }
    }
  ],
  "$responses": {
    "default": {
      "$properties": {
        "error": [
          {
            "#name": "code",
            "Enum": {
              "new": [
                [
                  "InvalidRequest",
                  "Invalid request error"
                ],
                [
                  "InvalidArgument",
                  "Invalid argument error"
                ],
                [
                  "Unauthorized",
                  "Unauthorized access error"
                ],
                [
                  "Forbidden",
                  "Forbidden access error"
                ],
                [
                  "NotFound",
                  "Not found error"
                ],
                [
                  "ProjectNotFound",
                  "Project not found error"
                ],
                [
                  "OperationNotFound",
                  "Operation not found error"
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  "Azure Cognitive Search not found error"
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  "Azure Cognitive Search index not found error"
                ],
                [
                  "TooManyRequests",
                  "Too many requests error"
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  "Azure Cognitive Search throttling error"
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  "Azure Cognitive Search index limit reached error"
                ],
                [
                  "InternalServerError",
                  "Internal server error"
                ],
                [
                  "ServiceUnavailable",
                  "Service unavailable error"
                ],
                [
                  "Timeout",
                  "Timeout error"
                ],
                [
                  "QuotaExceeded",
                  "Quota exceeded error"
                ],
                [
                  "Conflict",
                  "Conflict error"
                ],
                [
                  "Warning",
                  "Warning error"
                ]
              ],
              "old": [
                [
                  "InvalidRequest",
                  ""
                ],
                [
                  "InvalidArgument",
                  ""
                ],
                [
                  "Unauthorized",
                  ""
                ],
                [
                  "Forbidden",
                  ""
                ],
                [
                  "NotFound",
                  ""
                ],
                [
                  "ProjectNotFound",
                  ""
                ],
                [
                  "OperationNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  ""
                ],
                [
                  "TooManyRequests",
                  ""
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  ""
                ],
                [
                  "InternalServerError",
                  ""
                ],
                [
                  "ServiceUnavailable",
                  ""
                ],
                [
                  "Timeout",
                  ""
                ],
                [
                  "QuotaExceeded",
                  ""
                ],
                [
                  "Conflict",
                  ""
                ],
                [
                  "Warning",
                  ""
                ]
              ]
            }
          },
          {
            "#name": "innererror",
            "Description": {
              "new": "An object containing more specific information than the current object about\nthe error.",
              "old": "An object containing more specific information than the current object about the error."
            },
            "$properties": [
              {
                "#name": "code",
                "Enum": {
                  "new": [
                    [
                      "InvalidRequest",
                      "Invalid request error"
                    ],
                    [
                      "InvalidParameterValue",
                      "Invalid parameter value error"
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      "Knowledge base not found error"
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      "Azure Cognitive Search not found error"
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      "Azure Cognitive Search throttling error"
                    ],
                    [
                      "ExtractionFailure",
                      "Extraction failure error"
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      "Invalid request body format error"
                    ],
                    [
                      "EmptyRequest",
                      "Empty request error"
                    ],
                    [
                      "MissingInputDocuments",
                      "Missing input documents error"
                    ],
                    [
                      "InvalidDocument",
                      "Invalid document error"
                    ],
                    [
                      "ModelVersionIncorrect",
                      "Model version incorrect error"
                    ],
                    [
                      "InvalidDocumentBatch",
                      "Invalid document batch error"
                    ],
                    [
                      "UnsupportedLanguageCode",
                      "Unsupported language code error"
                    ],
                    [
                      "InvalidCountryHint",
                      "Invalid country hint error"
                    ]
                  ],
                  "old": [
                    [
                      "InvalidRequest",
                      ""
                    ],
                    [
                      "InvalidParameterValue",
                      ""
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      ""
                    ],
                    [
                      "ExtractionFailure",
                      ""
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      ""
                    ],
                    [
                      "EmptyRequest",
                      ""
                    ],
                    [
                      "MissingInputDocuments",
                      ""
                    ],
                    [
                      "InvalidDocument",
                      ""
                    ],
                    [
                      "ModelVersionIncorrect",
                      ""
                    ],
                    [
                      "InvalidDocumentBatch",
                      ""
                    ],
                    [
                      "UnsupportedLanguageCode",
                      ""
                    ],
                    [
                      "InvalidCountryHint",
                      ""
                    ]
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PATCH:  /authoring/query-knowledgebases/projects/{projectName}/sources
{
api-version: string ,
projectName: string ,
body:
{
op: enum ,
value:
{
displayName: string ,
source: string ,
sourceUri: string ,
sourceKind: enum ,
contentStructureKind: enum ,
refresh: boolean ,
}
,
}
,
}

⚐ Response (202)

{
operation-location: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
,
}
QuestionAnsweringProjects_GetUpdateSourcesStatus (updated)
Description Gets the status of update sources job.
Reference Link ¶

⚶ Changes

{
  "#id": "QuestionAnsweringProjects_GetUpdateSourcesStatus",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "Client API version."
      }
    },
    {
      "#name": "projectName",
      "Description": {
        "new": "Name of the project.",
        "old": "The name of the project to use."
      }
    },
    {
      "#name": "jobId",
      "Description": {
        "new": "The job ID.",
        "old": "Job ID."
      }
    }
  ],
  "$responses": {
    "200": {
      "Type": {
        "new": "object",
        "old": "string"
      }
    },
    "default": {
      "$properties": {
        "error": [
          {
            "#name": "code",
            "Enum": {
              "new": [
                [
                  "InvalidRequest",
                  "Invalid request error"
                ],
                [
                  "InvalidArgument",
                  "Invalid argument error"
                ],
                [
                  "Unauthorized",
                  "Unauthorized access error"
                ],
                [
                  "Forbidden",
                  "Forbidden access error"
                ],
                [
                  "NotFound",
                  "Not found error"
                ],
                [
                  "ProjectNotFound",
                  "Project not found error"
                ],
                [
                  "OperationNotFound",
                  "Operation not found error"
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  "Azure Cognitive Search not found error"
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  "Azure Cognitive Search index not found error"
                ],
                [
                  "TooManyRequests",
                  "Too many requests error"
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  "Azure Cognitive Search throttling error"
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  "Azure Cognitive Search index limit reached error"
                ],
                [
                  "InternalServerError",
                  "Internal server error"
                ],
                [
                  "ServiceUnavailable",
                  "Service unavailable error"
                ],
                [
                  "Timeout",
                  "Timeout error"
                ],
                [
                  "QuotaExceeded",
                  "Quota exceeded error"
                ],
                [
                  "Conflict",
                  "Conflict error"
                ],
                [
                  "Warning",
                  "Warning error"
                ]
              ],
              "old": [
                [
                  "InvalidRequest",
                  ""
                ],
                [
                  "InvalidArgument",
                  ""
                ],
                [
                  "Unauthorized",
                  ""
                ],
                [
                  "Forbidden",
                  ""
                ],
                [
                  "NotFound",
                  ""
                ],
                [
                  "ProjectNotFound",
                  ""
                ],
                [
                  "OperationNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  ""
                ],
                [
                  "TooManyRequests",
                  ""
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  ""
                ],
                [
                  "InternalServerError",
                  ""
                ],
                [
                  "ServiceUnavailable",
                  ""
                ],
                [
                  "Timeout",
                  ""
                ],
                [
                  "QuotaExceeded",
                  ""
                ],
                [
                  "Conflict",
                  ""
                ],
                [
                  "Warning",
                  ""
                ]
              ]
            }
          },
          {
            "#name": "innererror",
            "Description": {
              "new": "An object containing more specific information than the current object about\nthe error.",
              "old": "An object containing more specific information than the current object about the error."
            },
            "$properties": [
              {
                "#name": "code",
                "Enum": {
                  "new": [
                    [
                      "InvalidRequest",
                      "Invalid request error"
                    ],
                    [
                      "InvalidParameterValue",
                      "Invalid parameter value error"
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      "Knowledge base not found error"
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      "Azure Cognitive Search not found error"
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      "Azure Cognitive Search throttling error"
                    ],
                    [
                      "ExtractionFailure",
                      "Extraction failure error"
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      "Invalid request body format error"
                    ],
                    [
                      "EmptyRequest",
                      "Empty request error"
                    ],
                    [
                      "MissingInputDocuments",
                      "Missing input documents error"
                    ],
                    [
                      "InvalidDocument",
                      "Invalid document error"
                    ],
                    [
                      "ModelVersionIncorrect",
                      "Model version incorrect error"
                    ],
                    [
                      "InvalidDocumentBatch",
                      "Invalid document batch error"
                    ],
                    [
                      "UnsupportedLanguageCode",
                      "Unsupported language code error"
                    ],
                    [
                      "InvalidCountryHint",
                      "Invalid country hint error"
                    ]
                  ],
                  "old": [
                    [
                      "InvalidRequest",
                      ""
                    ],
                    [
                      "InvalidParameterValue",
                      ""
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      ""
                    ],
                    [
                      "ExtractionFailure",
                      ""
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      ""
                    ],
                    [
                      "EmptyRequest",
                      ""
                    ],
                    [
                      "MissingInputDocuments",
                      ""
                    ],
                    [
                      "InvalidDocument",
                      ""
                    ],
                    [
                      "ModelVersionIncorrect",
                      ""
                    ],
                    [
                      "InvalidDocumentBatch",
                      ""
                    ],
                    [
                      "UnsupportedLanguageCode",
                      ""
                    ],
                    [
                      "InvalidCountryHint",
                      ""
                    ]
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /authoring/query-knowledgebases/projects/{projectName}/sources/jobs/{jobId}
{
api-version: string ,
projectName: string ,
jobId: string ,
}

⚐ Response (200)

{
createdDateTime: string ,
expirationDateTime: string ,
jobId: string ,
lastUpdatedDateTime: string ,
status: enum ,
errors:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
,
}
QuestionAnsweringProjects_GetSynonyms (updated)
Description Gets all the synonyms of a project.
Reference Link ¶

⚶ Changes

{
  "#id": "QuestionAnsweringProjects_GetSynonyms",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "Client API version."
      }
    },
    {
      "#name": "projectName",
      "Description": {
        "new": "Name of the project.",
        "old": "The name of the project to use."
      }
    }
  ],
  "$responses": {
    "200": {
      "Description": {
        "new": "Paged collection of WordAlterations items",
        "old": "All synonym assets for this project."
      },
      "$properties": [
        {
          "#name": "value",
          "Description": {
            "new": "The WordAlterations items on this page",
            "old": "Collection of synonyms."
          },
          "Required": {
            "new": true,
            "old": false
          }
        }
      ]
    },
    "default": {
      "$properties": {
        "error": [
          {
            "#name": "code",
            "Enum": {
              "new": [
                [
                  "InvalidRequest",
                  "Invalid request error"
                ],
                [
                  "InvalidArgument",
                  "Invalid argument error"
                ],
                [
                  "Unauthorized",
                  "Unauthorized access error"
                ],
                [
                  "Forbidden",
                  "Forbidden access error"
                ],
                [
                  "NotFound",
                  "Not found error"
                ],
                [
                  "ProjectNotFound",
                  "Project not found error"
                ],
                [
                  "OperationNotFound",
                  "Operation not found error"
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  "Azure Cognitive Search not found error"
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  "Azure Cognitive Search index not found error"
                ],
                [
                  "TooManyRequests",
                  "Too many requests error"
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  "Azure Cognitive Search throttling error"
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  "Azure Cognitive Search index limit reached error"
                ],
                [
                  "InternalServerError",
                  "Internal server error"
                ],
                [
                  "ServiceUnavailable",
                  "Service unavailable error"
                ],
                [
                  "Timeout",
                  "Timeout error"
                ],
                [
                  "QuotaExceeded",
                  "Quota exceeded error"
                ],
                [
                  "Conflict",
                  "Conflict error"
                ],
                [
                  "Warning",
                  "Warning error"
                ]
              ],
              "old": [
                [
                  "InvalidRequest",
                  ""
                ],
                [
                  "InvalidArgument",
                  ""
                ],
                [
                  "Unauthorized",
                  ""
                ],
                [
                  "Forbidden",
                  ""
                ],
                [
                  "NotFound",
                  ""
                ],
                [
                  "ProjectNotFound",
                  ""
                ],
                [
                  "OperationNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  ""
                ],
                [
                  "TooManyRequests",
                  ""
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  ""
                ],
                [
                  "InternalServerError",
                  ""
                ],
                [
                  "ServiceUnavailable",
                  ""
                ],
                [
                  "Timeout",
                  ""
                ],
                [
                  "QuotaExceeded",
                  ""
                ],
                [
                  "Conflict",
                  ""
                ],
                [
                  "Warning",
                  ""
                ]
              ]
            }
          },
          {
            "#name": "innererror",
            "Description": {
              "new": "An object containing more specific information than the current object about\nthe error.",
              "old": "An object containing more specific information than the current object about the error."
            },
            "$properties": [
              {
                "#name": "code",
                "Enum": {
                  "new": [
                    [
                      "InvalidRequest",
                      "Invalid request error"
                    ],
                    [
                      "InvalidParameterValue",
                      "Invalid parameter value error"
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      "Knowledge base not found error"
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      "Azure Cognitive Search not found error"
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      "Azure Cognitive Search throttling error"
                    ],
                    [
                      "ExtractionFailure",
                      "Extraction failure error"
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      "Invalid request body format error"
                    ],
                    [
                      "EmptyRequest",
                      "Empty request error"
                    ],
                    [
                      "MissingInputDocuments",
                      "Missing input documents error"
                    ],
                    [
                      "InvalidDocument",
                      "Invalid document error"
                    ],
                    [
                      "ModelVersionIncorrect",
                      "Model version incorrect error"
                    ],
                    [
                      "InvalidDocumentBatch",
                      "Invalid document batch error"
                    ],
                    [
                      "UnsupportedLanguageCode",
                      "Unsupported language code error"
                    ],
                    [
                      "InvalidCountryHint",
                      "Invalid country hint error"
                    ]
                  ],
                  "old": [
                    [
                      "InvalidRequest",
                      ""
                    ],
                    [
                      "InvalidParameterValue",
                      ""
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      ""
                    ],
                    [
                      "ExtractionFailure",
                      ""
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      ""
                    ],
                    [
                      "EmptyRequest",
                      ""
                    ],
                    [
                      "MissingInputDocuments",
                      ""
                    ],
                    [
                      "InvalidDocument",
                      ""
                    ],
                    [
                      "ModelVersionIncorrect",
                      ""
                    ],
                    [
                      "InvalidDocumentBatch",
                      ""
                    ],
                    [
                      "UnsupportedLanguageCode",
                      ""
                    ],
                    [
                      "InvalidCountryHint",
                      ""
                    ]
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /authoring/query-knowledgebases/projects/{projectName}/synonyms
{
api-version: string ,
projectName: string ,
top: integer ,
skip: integer ,
maxpagesize: integer ,
}

⚐ Response (200)

{
value:
[
{
alterations:
[
string ,
]
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
,
}
QuestionAnsweringProjects_UpdateSynonyms (updated)
Description Updates all the synonyms of a project.
Reference Link ¶

⚶ Changes

{
  "#id": "QuestionAnsweringProjects_UpdateSynonyms",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "Client API version."
      }
    },
    {
      "body": {
        "Description": {
          "new": "Request payload for updating synonyms.",
          "old": "All synonym assets for this project."
        },
        "$properties": [
          {
            "#name": "value",
            "Description": {
              "new": "The WordAlterations items on this page",
              "old": "Collection of synonyms."
            },
            "Required": {
              "new": true,
              "old": false
            }
          }
        ]
      }
    }
  ],
  "$responses": {
    "default": {
      "$properties": {
        "error": [
          {
            "#name": "code",
            "Enum": {
              "new": [
                [
                  "InvalidRequest",
                  "Invalid request error"
                ],
                [
                  "InvalidArgument",
                  "Invalid argument error"
                ],
                [
                  "Unauthorized",
                  "Unauthorized access error"
                ],
                [
                  "Forbidden",
                  "Forbidden access error"
                ],
                [
                  "NotFound",
                  "Not found error"
                ],
                [
                  "ProjectNotFound",
                  "Project not found error"
                ],
                [
                  "OperationNotFound",
                  "Operation not found error"
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  "Azure Cognitive Search not found error"
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  "Azure Cognitive Search index not found error"
                ],
                [
                  "TooManyRequests",
                  "Too many requests error"
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  "Azure Cognitive Search throttling error"
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  "Azure Cognitive Search index limit reached error"
                ],
                [
                  "InternalServerError",
                  "Internal server error"
                ],
                [
                  "ServiceUnavailable",
                  "Service unavailable error"
                ],
                [
                  "Timeout",
                  "Timeout error"
                ],
                [
                  "QuotaExceeded",
                  "Quota exceeded error"
                ],
                [
                  "Conflict",
                  "Conflict error"
                ],
                [
                  "Warning",
                  "Warning error"
                ]
              ],
              "old": [
                [
                  "InvalidRequest",
                  ""
                ],
                [
                  "InvalidArgument",
                  ""
                ],
                [
                  "Unauthorized",
                  ""
                ],
                [
                  "Forbidden",
                  ""
                ],
                [
                  "NotFound",
                  ""
                ],
                [
                  "ProjectNotFound",
                  ""
                ],
                [
                  "OperationNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  ""
                ],
                [
                  "TooManyRequests",
                  ""
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  ""
                ],
                [
                  "InternalServerError",
                  ""
                ],
                [
                  "ServiceUnavailable",
                  ""
                ],
                [
                  "Timeout",
                  ""
                ],
                [
                  "QuotaExceeded",
                  ""
                ],
                [
                  "Conflict",
                  ""
                ],
                [
                  "Warning",
                  ""
                ]
              ]
            }
          },
          {
            "#name": "innererror",
            "Description": {
              "new": "An object containing more specific information than the current object about\nthe error.",
              "old": "An object containing more specific information than the current object about the error."
            },
            "$properties": [
              {
                "#name": "code",
                "Enum": {
                  "new": [
                    [
                      "InvalidRequest",
                      "Invalid request error"
                    ],
                    [
                      "InvalidParameterValue",
                      "Invalid parameter value error"
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      "Knowledge base not found error"
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      "Azure Cognitive Search not found error"
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      "Azure Cognitive Search throttling error"
                    ],
                    [
                      "ExtractionFailure",
                      "Extraction failure error"
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      "Invalid request body format error"
                    ],
                    [
                      "EmptyRequest",
                      "Empty request error"
                    ],
                    [
                      "MissingInputDocuments",
                      "Missing input documents error"
                    ],
                    [
                      "InvalidDocument",
                      "Invalid document error"
                    ],
                    [
                      "ModelVersionIncorrect",
                      "Model version incorrect error"
                    ],
                    [
                      "InvalidDocumentBatch",
                      "Invalid document batch error"
                    ],
                    [
                      "UnsupportedLanguageCode",
                      "Unsupported language code error"
                    ],
                    [
                      "InvalidCountryHint",
                      "Invalid country hint error"
                    ]
                  ],
                  "old": [
                    [
                      "InvalidRequest",
                      ""
                    ],
                    [
                      "InvalidParameterValue",
                      ""
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      ""
                    ],
                    [
                      "ExtractionFailure",
                      ""
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      ""
                    ],
                    [
                      "EmptyRequest",
                      ""
                    ],
                    [
                      "MissingInputDocuments",
                      ""
                    ],
                    [
                      "InvalidDocument",
                      ""
                    ],
                    [
                      "ModelVersionIncorrect",
                      ""
                    ],
                    [
                      "InvalidDocumentBatch",
                      ""
                    ],
                    [
                      "UnsupportedLanguageCode",
                      ""
                    ],
                    [
                      "InvalidCountryHint",
                      ""
                    ]
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

PUT:  /authoring/query-knowledgebases/projects/{projectName}/synonyms
{
api-version: string ,
projectName: string ,
body:
{
value:
[
{
alterations:
[
string ,
]
,
}
,
]
,
nextLink: string ,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
,
}
QuestionAnsweringProjects_GetDeleteStatus (updated)
Description Gets the status of a Project delete job.
Reference Link ¶

⚶ Changes

{
  "#id": "QuestionAnsweringProjects_GetDeleteStatus",
  "$parameters": [
    {
      "#name": "api-version",
      "Description": {
        "new": "The API version to use for this operation.",
        "old": "Client API version."
      }
    },
    {
      "#name": "jobId",
      "Description": {
        "new": "The job ID.",
        "old": "Job ID."
      }
    }
  ],
  "$responses": {
    "200": {
      "Description": {
        "new": "Represents the state of a project deletion job.",
        "old": "Job state represents the job metadata and any errors."
      },
      "Type": {
        "new": "object",
        "old": "string"
      }
    },
    "default": {
      "$properties": {
        "error": [
          {
            "#name": "code",
            "Enum": {
              "new": [
                [
                  "InvalidRequest",
                  "Invalid request error"
                ],
                [
                  "InvalidArgument",
                  "Invalid argument error"
                ],
                [
                  "Unauthorized",
                  "Unauthorized access error"
                ],
                [
                  "Forbidden",
                  "Forbidden access error"
                ],
                [
                  "NotFound",
                  "Not found error"
                ],
                [
                  "ProjectNotFound",
                  "Project not found error"
                ],
                [
                  "OperationNotFound",
                  "Operation not found error"
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  "Azure Cognitive Search not found error"
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  "Azure Cognitive Search index not found error"
                ],
                [
                  "TooManyRequests",
                  "Too many requests error"
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  "Azure Cognitive Search throttling error"
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  "Azure Cognitive Search index limit reached error"
                ],
                [
                  "InternalServerError",
                  "Internal server error"
                ],
                [
                  "ServiceUnavailable",
                  "Service unavailable error"
                ],
                [
                  "Timeout",
                  "Timeout error"
                ],
                [
                  "QuotaExceeded",
                  "Quota exceeded error"
                ],
                [
                  "Conflict",
                  "Conflict error"
                ],
                [
                  "Warning",
                  "Warning error"
                ]
              ],
              "old": [
                [
                  "InvalidRequest",
                  ""
                ],
                [
                  "InvalidArgument",
                  ""
                ],
                [
                  "Unauthorized",
                  ""
                ],
                [
                  "Forbidden",
                  ""
                ],
                [
                  "NotFound",
                  ""
                ],
                [
                  "ProjectNotFound",
                  ""
                ],
                [
                  "OperationNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchNotFound",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexNotFound",
                  ""
                ],
                [
                  "TooManyRequests",
                  ""
                ],
                [
                  "AzureCognitiveSearchThrottling",
                  ""
                ],
                [
                  "AzureCognitiveSearchIndexLimitReached",
                  ""
                ],
                [
                  "InternalServerError",
                  ""
                ],
                [
                  "ServiceUnavailable",
                  ""
                ],
                [
                  "Timeout",
                  ""
                ],
                [
                  "QuotaExceeded",
                  ""
                ],
                [
                  "Conflict",
                  ""
                ],
                [
                  "Warning",
                  ""
                ]
              ]
            }
          },
          {
            "#name": "innererror",
            "Description": {
              "new": "An object containing more specific information than the current object about\nthe error.",
              "old": "An object containing more specific information than the current object about the error."
            },
            "$properties": [
              {
                "#name": "code",
                "Enum": {
                  "new": [
                    [
                      "InvalidRequest",
                      "Invalid request error"
                    ],
                    [
                      "InvalidParameterValue",
                      "Invalid parameter value error"
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      "Knowledge base not found error"
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      "Azure Cognitive Search not found error"
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      "Azure Cognitive Search throttling error"
                    ],
                    [
                      "ExtractionFailure",
                      "Extraction failure error"
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      "Invalid request body format error"
                    ],
                    [
                      "EmptyRequest",
                      "Empty request error"
                    ],
                    [
                      "MissingInputDocuments",
                      "Missing input documents error"
                    ],
                    [
                      "InvalidDocument",
                      "Invalid document error"
                    ],
                    [
                      "ModelVersionIncorrect",
                      "Model version incorrect error"
                    ],
                    [
                      "InvalidDocumentBatch",
                      "Invalid document batch error"
                    ],
                    [
                      "UnsupportedLanguageCode",
                      "Unsupported language code error"
                    ],
                    [
                      "InvalidCountryHint",
                      "Invalid country hint error"
                    ]
                  ],
                  "old": [
                    [
                      "InvalidRequest",
                      ""
                    ],
                    [
                      "InvalidParameterValue",
                      ""
                    ],
                    [
                      "KnowledgeBaseNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchNotFound",
                      ""
                    ],
                    [
                      "AzureCognitiveSearchThrottling",
                      ""
                    ],
                    [
                      "ExtractionFailure",
                      ""
                    ],
                    [
                      "InvalidRequestBodyFormat",
                      ""
                    ],
                    [
                      "EmptyRequest",
                      ""
                    ],
                    [
                      "MissingInputDocuments",
                      ""
                    ],
                    [
                      "InvalidDocument",
                      ""
                    ],
                    [
                      "ModelVersionIncorrect",
                      ""
                    ],
                    [
                      "InvalidDocumentBatch",
                      ""
                    ],
                    [
                      "UnsupportedLanguageCode",
                      ""
                    ],
                    [
                      "InvalidCountryHint",
                      ""
                    ]
                  ]
                }
              }
            ]
          }
        ]
      }
    }
  }
}

⚼ Request

GET:  /authoring/query-knowledgebases/projects/deletion-jobs/{jobId}
{
api-version: string ,
jobId: string ,
}

⚐ Response (200)

{
createdDateTime: string ,
expirationDateTime: string ,
jobId: string ,
lastUpdatedDateTime: string ,
status: enum ,
errors:
[
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: string ,
innererror: string ,
}
,
}
,
]
,
}

⚐ Response (default)

{
$headers:
{
x-ms-error-code: string ,
}
,
$schema:
{
error:
{
code: enum ,
message: string ,
target: string ,
details:
[
string ,
]
,
innererror:
{
code: enum ,
message: string ,
details: object ,
target: string ,
innererror: string ,
}
,
}
,
}
,
}